Welcome To Snipplr
Everyone's Recent Snippets Tagged form
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Here's a quick list for collecting the race/ethnicity of a user in an online form.
0
3362
posted 16 years ago by jonhenshaw
using bgiframe to solve a bug in explorer: you cannot apply z-index to place divs over selects in a form!!!
1
955
posted 17 years ago by victorchamorro
Sometimes you need to have an ability to show limited number of elements in your select objects or sort elements by name or so. I figured out that this feature was added to object_select_tag later so that not everybody knows about that. This featureâ...
1
696
posted 17 years ago by ggb2g
Step 1: Copy and paste the e-mail Form Code into a 'contact.php' page (must be a html/php page on a server that allows php!).
Step 2: Copy n paste the sendeail.php code into a new file. Change the YourEmail section to include your email address. T...
3
1306
posted 17 years ago by jonhenshaw
For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input.
This function focuses on a selected input, then it selects the default text so the user can easily type their o...
1
921
posted 17 years ago by 1man
Copy values from the first row of a column down the entire column. This was used in a specific project, but the code could be helpful for other projects.
1
668
posted 17 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2
881
posted 17 years ago by davaodude
Found on the jquery mailing list: http://jquery.com/discuss/2006-April/004625/
The url shows it in action, checking text when you move away from a field.
4
1151
posted 18 years ago by TC
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2
1303
posted 18 years ago by dandyna
The form method must be post and the enctype set as it is below. The hidden input for MAX_FILE_SIZE must also be included. The value is the max file size (in bytes?).
4
923
posted 18 years ago by pckujawa