Hi there,
I'm handling the client side event 'OnClientHiding'. The event is raised and my code is called. In my code some click events are assigned to some check boxes using jQuery. Unfortunately the click event handlers don't run when I click on the check boxes.
The jQuery code works perfectly when the page first loads. Its when I try and re-initialize the check boxes after a call back that it doesn't run properly.
Do you have any idea how to fix this?
Here is some code...
$(document).ready(function () {
f();
});
function LoadingPanelHiding(sender, eventArgs) {
f();
}
function f() {
$('.selectAll').click(function () {
alert('Hello world!');
});
}
Cheers, Ian.
I'm handling the client side event 'OnClientHiding'. The event is raised and my code is called. In my code some click events are assigned to some check boxes using jQuery. Unfortunately the click event handlers don't run when I click on the check boxes.
The jQuery code works perfectly when the page first loads. Its when I try and re-initialize the check boxes after a call back that it doesn't run properly.
Do you have any idea how to fix this?
Here is some code...
$(document).ready(function () {
f();
});
function LoadingPanelHiding(sender, eventArgs) {
f();
}
function f() {
$('.selectAll').click(function () {
alert('Hello world!');
});
}
Cheers, Ian.