Front-End Updates
HTML5, CSS3, jQuery, AngularJS, JavaScript, JSON, Photoshop, & Usability
Sunday, May 20, 2018
Get form fields value using jQuery
In jQuery the
.val()
method is used to get form field values from input, textarea, select etc. Use the
:checked
method for select, checkbox, and radio buttons.
Here’s a Fiddle:
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)