tarundhillon
01-23-2005, 11:21 PM
Hi,
I have a select tag in my page.
<select name='abc' id='abc'>
<option value='a1'> A1</option>
</select>
Now i want to send one more attribute in each option, such that it would be accessible in the javascript.
like
<select name='abc' id='abc'>
<option value='a1' valueType='b1'> A1</option>
</select>
Is the above thing possible, if not then how do we send the 2 or more values in select tag option.
One way could be to concat the value and then separate them. But this isn't a good way of sending values.
Any help would be highly appreciated
regards
Tarun Dhillon
I have a select tag in my page.
<select name='abc' id='abc'>
<option value='a1'> A1</option>
</select>
Now i want to send one more attribute in each option, such that it would be accessible in the javascript.
like
<select name='abc' id='abc'>
<option value='a1' valueType='b1'> A1</option>
</select>
Is the above thing possible, if not then how do we send the 2 or more values in select tag option.
One way could be to concat the value and then separate them. But this isn't a good way of sending values.
Any help would be highly appreciated
regards
Tarun Dhillon