Miva Merchant Modules and Development
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

JQUERY: Get and Set Form Input Values

Scot Ranney • December 22, 2023


Super easy. Get and Set input values with Jquery is almost the same. 

Getter:

var title = $('#doc_title').val();

Setter:

$('#doc_title').val('this is a new title);

https://www.scotsscripts.com/mvblog/jquery-get-and-set-form-input-values.html

mvkb_jquery