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
3345
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
947
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
690
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
1299
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
917
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
659
posted 17 years ago by davaodude
Simple script to toggle (checked or not checked) all checkboxes on the page.
2
875
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
1140
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
1294
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
914
posted 18 years ago by pckujawa