I need to open the following onclick in the "Select" option.
How to open an onclick on the select option like this:
I want to do this here:
<a onClick="Select(0, this);">span1</a>
Work like this:
<select>
<option onClick="Select(0, this);">1 </option>
<option onClick="Select(1, this);">2</option>
</select>
I can not use ID or CLASS because I will use the "CLONING" function of jquery so if it is duplicated in the function clone the ID and ClASS does not work.