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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -