Hi,
I am working on a html web resource which has a dropdown in it. On change of the dropdown value, I am trying to trigger a script but nothing happens. I did try to debug but script won't trigger in the first place. I have downloaded the latest jquery.
Is this the right way of doing so? Thanks for any suggestions.
<html><head> <script src="new_jquery_1.9.1_latest.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#Onlyoption").change(function () { debugger; alert("triggered"); }); }); </script> <meta charset="utf-8"></head> <body> <font color="#444444" face="Segoe UI" size="2" font=""> Time In:</font> <select id="Onlyoption"> <option value="0000">xxxx</option> <option value="0000">yyyy</option> <option value="0000">zzzz</option> </select></body></html>
*This post is locked for comments