I have an input element defined as follows:
<input type="checkbox" name="custom_15[1]" id="custom_15[1]" value="1" />
When I tried with $("#custom_15[1]")
selector, it didn't work. Whereas, document.getElementById("custom_15[1]")
did work.
What am I doing wrong here?
Thank you!