I have a ListBox on my page, and I\'d like to make an AJAX post containing all the selected items. Here\'s my code:
$(\'#btnSubmit\').click(function() {
Pass it in the rest way. a=1&a=2&a=3 You may use jQuery serialize() http://api.jquery.com/serialize/