How do I include unordered list in jquery serialize array -
i'm using:
$.ajax({ url: "processform.php", type: "post", data: $(this).serialize(), success: function(d) { alert(d); } });
to collect form input array.
part of form unordered list:
<ul class="sortable list" id="section_order"> <li>diet</li> <li>complementary treatments</li> <li>herbal medicine , dietary supplements</li> <li>self practices</li> <li> other activities</li> </ul>
which serialize function ignoring.
how include order of list items in serialized array.
thanks help
Comments
Post a Comment