I have a button on my page, i.e:
<input type="button" id="myButton" name="myButton" class="myStyle" value="Click me" />
For some reason, the id or name didn’t get rendered, therefore all my jQuery selector that selects ID are not working… Any idea why?
Thanks.
Completely stupid mistake by me and my co-worker! I originally used a partial view, my co-worker then copied the partial view html onto the actual view, removed the ID attribute. Then I’ve been pulling my hair out for the past day editing the partial view!