I have a number of hidden input elements on my ASP.NET MVC page. They each hold an integer value. They are identified by $('table#ratings input[name=newReviewRatings]')
.
Is it possible to post the integers in those hidden input elements using $.post()
so that the controller is passed an array of integers?
This is probably easier using a <form>
element and simply posting the form. But is it possible to do it using jQuery?