How do u collect all the checkboxes and dropdownlist items inJQuery for saving
+2
A:
One way is to use the jQuery Form plugin, like this:
$('#myFormId').formSerialize();
From the formSerialize API documentation:
Serializes the form into a query string. This method will return a string in the format: name1=value1&name2=value2
karim79
2009-06-16 15:28:46
+2
A:
ScottE
2009-06-16 15:32:22
A:
$('#myFormId').formSerialize(); is a plugin and maybe not necessary. The core function serialize() is better.
Elzo Valugi
2009-06-16 15:46:28
My view state is also visible when I am doing a .serialize
Greens
2009-06-23 16:29:28