I have problem with select tag. I google it and didn't find any solution regarding my question. here is one of the link... (Uncaught TypeError: Cannot read property 'value' of undefined)..... I have function on onchange event in the select tag some how like this..
<select id="selectBox" onchange="_change();"> <?php $i = 1; while ($lastpage >= $i):?> <option><?php echo $i; ?></option> <?php $i++; endwhile; ?> </select> Possible jQuery code ...
<script type="text/javascript"> function _change(evt) { alert(this.options[this.selectedIndex].value); }; </script> The question is Why I am getting undefined of undefined instead getting a value or property undefined so that I can go ahead and solve that prob... Thanks any help would more be appreciated...
</a>from your server-side code.