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
1282
posted 16 years ago by jasonseney
originally posted by penguin999 here:
http://snipplr.com/view/3372/radio-button-values-using-jquery/
2
1264
posted 16 years ago by omixen
Run from within SQL to get list of items in directory to a table.
1
820
posted 16 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
1653
posted 16 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
2945
posted 16 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
1617
posted 16 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
762
posted 16 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
980
posted 16 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
935
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
771
posted 16 years ago by dannymo2
A drop down list of facial hair options for an online form.
0
1181
posted 16 years ago by jonhenshaw
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
2508
posted 16 years ago by jonhenshaw
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
2835
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
1336
posted 17 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
889
posted 17 years ago by cpjobling