Home > jQuery > How to Get/Set a Form Value in jQuery
Bookmark and Share

How to Get/Set a Form Value in jQuery

Posted on March 26, 2018 | Filed in jQuery

There are times when you want to get the value of a form element using jQuery. You can do that with:

jQuery(element).val();

Now if you want to set the value of that element, you would use:

jQuery(element).val(value);

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog