Select options value and text to JSON format
Posted
by uzay95
on Stack Overflow
See other posts from Stack Overflow
or by uzay95
Published on 2010-03-16T16:06:57Z
Indexed on
2010/03/16
16:11 UTC
Read the original article
Hit count: 281
How can i convert select options elements to JSON text.
<select id="mySelect" multiple="multiple">
<option value="1">First</option>
<option value="2">Second</option>
<option value="3">Third</option>
<option value="4">Fourth</option>
</select>
I want to set options belong to select which is not runat=server to the
And I want to split string to array.
© Stack Overflow or respective owner