Posts Tagged Under: form

Adjust li width fit with ul width of the outer div/body

HTML:-

CSS:-

JavaScript:-

 


Customize Input Box using jQuery

Prevent users typing special characters in text box, textarea, etc.

^[a-zA-Z]+$ Alphabets
^[a-zA-Z\s]+$ Alphabets + Space

Example:-


JavaScript simple form validation with example

Any interactive web site has form input – a place where the users input different kind of information. This data is passed to PHP Script, or some other technology and if the data contains an error, there will be a delay before the information travels over the Internet to the


Serialize Form to JSON

or another approach