jQuery newbie question here... I have a jQuery dialog that displays a warning with a "OK" or "Cancel" and based on what they click the result needs to then execute the server side ASP onClick event.
I've attempted to write it along these lines:
"OK": function () {
$(this).dialog("close");
return true;
},
Cancel: function () {
$(this).dialog("close");
return false;
But it never posts back to the asp server side method.
Am I off base in what I am trying to accomplish here, and is there standard 'best practice' type of way of implementing this type of functionality?