I will have some sort of form on the page and will need to save the values into an array to run through an algorithm. Any ideas how i could do this. Had a quick google search to no avail.
怎么样...
var arr = $( '.inputs' ).map( function () { return $( this ).val(); }).get();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.