on('mouseover') not getting associated with element as expected
I'm using the following code to associate a mouseover event with an <a> tag:
$('#' + control.Id).on('mouseover', function(){ alert('test'); });
control.Id is a valid control ID that exists on the page. The following code gets a handle to the control on the page:
$('#' + control.Id)
However, when I try to associate a mouseover event with the on('mouseover') code above, the CDT watch shows "onmouseover: null". Any idea why my on('mouseover') code does not appear to be working as expected?