0
favorites
favorites
3
comments
comments
HTML Mail Form
Form to send POST data to a php file and send its data to a email. ...
0
favorites
favorites
0
comments
comments
Input Field Tricks XHTML . CSS
These are common attributes that we normally have to type in, in order to get a transparent, no bordered auto-length forming input field that doesnt have that hideous yellow outline that Chrome makes around forms. ...
0
favorites
favorites
1
comment
comment
String.format() in JS a la Python
String.format() in JS a la Python
Usage:
var myString="My name is {0} and I am {1} years old"
formattedString=myString.format(['sayan',27]) ...
64
favorites
favorites
3
comments
comments
Submit a form by hitting the enter button inside an input field with jQuery
Users a used to submit a form without clicking the submit button of a form. They expect to get to the next step or page just by hitting the enter button. The code snippets binds the keypress action to all form with the specific CSS-class "enter-submit". In order to bind the action also for ajax-loaded elements we use the binding function "live". ...