I have a form being built dynamically. In the process I am adding the class 'check1' and 'check2' to certain check boxes.
I have the following code to test the 'change' event of the checkbox but neither alert is showing. I try it in jsfiddle and I see it works fine.
I tried taking it out of the document.ready function but perhaps I got the syntax wrong.
Currently, in document.ready I have:
$('#outputArea').text(this.checked ? "is checked" : "is not checked");