My change function works great for select controls that are built into the page initially, but when I dynamically add a select control, the change function won't fire.
<select name="SUBJ" class="SUBJ" id="SUBJ_-9">
<option value="1">First item</option>
<option value="2">Second item</option>
</select>
$j('.SUBJ').change(function () {
alert("foo");
}
I'm wondering after I dynamically add the control:
$j("tbody > tr:last").prev().before(strAppend);
do I need to call any function to associate the event watcher/handler with the control?
Any other ideas? Tks!