D
darrel
I'm using some standard HTML radio buttons (to allow finer javascript
interaction) on a web page and would like to catch the selected item on
postback. Since they are all ID's uniquely, is there a way to grab only the
selected item's value? Or do I need to write an if/then statement to figure
out which one is selected?
Sample:
<input runat="server" id="radio1" name="category" />
<input runat="server" id="radio2" name="category" />
<input runat="server" id="radio3" name="category" />
<input runat="server" id="radio4" name="category" />
<input runat="server" id="radio5" name="category" />
-Darrel
interaction) on a web page and would like to catch the selected item on
postback. Since they are all ID's uniquely, is there a way to grab only the
selected item's value? Or do I need to write an if/then statement to figure
out which one is selected?
Sample:
<input runat="server" id="radio1" name="category" />
<input runat="server" id="radio2" name="category" />
<input runat="server" id="radio3" name="category" />
<input runat="server" id="radio4" name="category" />
<input runat="server" id="radio5" name="category" />
-Darrel