When using jQuery document ready, i.e. $(document).ready(function() { }
is there any chance that the DOM has not fully loaded yet?
I am using some 3rd party tools (Telerik's grid) and have set a client template to display a checkbox instead, just like this. Code:
.ClientTemplate("<input type='checkbox' name='checkedRecords' value='<#= OrderID #>' />")
The reason I ask is that I am attempting to hook up an event to all checkboxes to monitor change
:
$(':input').change(
function () {
alert('you fired!');
});
I put a checkbox manually outside of the Telerik grid code, and it hooks up to the checkbox changing, but none of the checkboxes inside the telerik grid do...
And in that case - is there a work around?