asp.net - catch ispostback event javascript -
i need catch ispostback event using javascript purpose. found many example in google none of them has worked me. 1 example used below:
$(document).ready(function () { var chkpostback = '<%= page.ispostback ? "true" : "false" %>'; if (chkpostback == 'true') { alert("ispostback alert"); } });
but not working.
Comments
Post a Comment