Issue adding on change event to a control.
I currently have a page that uses this in the aspx page to declare a dropdownlist
<select class="dropdownPhase" />
I am trying to add a on change event to the above dropdownlist something like what i did on another page. the problem is i cannot change it to be declared like a normal dropdownlist is it possible to add the onchange event?
<asp:DropDownList ID="dropdownPhase" onchange="ApplicationRecording.prototype.onPhaseChange1(this,$(this).closest('tr'));" />
You can add the client-side event to the DropDownList in code:
You might have to set AutoPostBack to False.
Hope this helps.