Welcome To Snipplr
Everyone's Recent Snippets Tagged list
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
View version with full names here:
[Dropdown-states](http://snipplr.com/view/4042/dropdown-states/ "View full names version")
3
1029
posted 15 years ago by jasonseney
originally posted by penguin999 here:
http://snipplr.com/view/3372/radio-button-values-using-jquery/
2
1016
posted 15 years ago by omixen
Run from within SQL to get list of items in directory to a table.
1
654
posted 15 years ago by DaveChild
This takes whatever object you want (called YOUR_OBJECT in the source) and traces out each child of that object. Pretty useful for debugging an add/removeChild issue.
1
1336
posted 15 years ago by benwasilewski
This will create and then populate a MySQL table with a list of the names and USPS abbreviations for US states and possessions in existence.
3
2630
posted 15 years ago by cbrant
This will create and then populate a MySQL table with a list of the names and ISO 3166 codes for countries in existence.
5
1357
posted 15 years ago by cbrant
If you ever need to build a comma delimited list out of a column in SQL you can easily do this using the COALESCE function.
0
575
posted 15 years ago by mcbutterbuns
Given an an associative list ((k1 . v1) (k2 . v2) ... (kn . vn)), with possibly equal values for ki, it returns another alist where all cells have distinct keys and where values originally associated to the same key have been grouped as a list in the...
1
750
posted 15 years ago by jarnaldich
[directory]
├index.php //this snippet
├imageA.jpg
├imageB.gif
â””imageC.png
This snipet displays the thumbnail of the picture file that exists in the
same directory.
When the thumbnail image is clicked, the original size image is...
6
745
posted 16 years ago by kyokutyo
Use this API to access names and addresses in a user's webmail (Gmail, AOL, Hotmail, and Yahoo). Make it easy to send friend invites for a social site and import contact lists. Rapleaf maintains up to date code on the importer and never stores passwo...
0
585
posted 16 years ago by dannymo2
This is a list of the fifty most commonly spoken languages in the United States of America. The list can be used in an online form.
0
2170
posted 16 years ago by jonhenshaw
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
2503
posted 16 years ago by zvasanth
This will create a State select list for Textpattern if you're using the zem_contact_reborn form plugin
0
987
posted 16 years ago by jonhenshaw
This code uses the new Java 5 foreach loop to iterate through every element of a list. It avoids the need to declare an iterator.
0
695
posted 17 years ago by cpjobling