Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
In regards to progressive enhancement, see also the [jQuery version](http://snipplr.com/view/48275/default-value-for-input-fields-jquery-version/).
6
2645
posted 16 years ago by riddla
This problem occurs when there is a duplicated name for the first level item (optgroup) and a second level item (option). The rendered select will not contain the mentioned option unless you do the following...
0
2566
posted 16 years ago by sveggiani
<p>This snippet could be used when a text input has a default value. Thus, when user clicks on the input to write, the default value disappears and allows the user to write, but if the user does not type anything, the default value will appears again...
1
2143
posted 16 years ago by andres_314
Database connection class to be easily incorporated into any db based softwares, using SQLite 3
2
3269
posted 16 years ago by amitkenny
This will add a subtle drop shadow to all images on a page. Works with all major browsers excluding Internet Explorer 8 and below. The beta version of Internet Explorer does support box-shadow. There's a nice writeup on box shadow here: http://www...
2
1947
posted 16 years ago by jazzs3quence
PHP
How to replace the default WordPress “W†logo in the administrative header with a custom alternative
First, create an image that fits the allocated space. As of WordPress 2.8, the logo is a 30 pixels wide and 31 pixels tall transparent GIF. When using a transparent GIF or 8-bit PNG, ensure that the image matte matches the header background color: he...
3
3279
posted 16 years ago by lromak
**Download**\r\n\r\n1. Download the latest source code from the [GNU wget website](http://www.gnu.org/software/wget/ \"GNU wget website\"). You can download the latest version from [this link](http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz \"Latest w...
0
2587
posted 16 years ago by armanx
very minimal way to get the value and text of a combo box using jquery
1
1803
posted 16 years ago by blipz
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8
2521
posted 16 years ago by Nettuts