Gokuldas Palapatta

This blog is all about the issues and frictions which i have faced as a developer ;)

Wednesday, 2 March 2016

Call a javascript function on all Postback





<script type="text/javascript">
 
   $(document).ready(function () {
 var prm = Sys.WebForms.PageRequestManager.getInstance();
    prm.add_endRequest(function (s, e) {
        alert('Postback!'); // write ur Fn here
    });

  });
</script>
Posted by Gokuldas Palapatta at 21:12 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Gokuldas Palapatta
View my complete profile

Blog Archive

  • ►  2018 (2)
    • ►  February (2)
  • ►  2017 (5)
    • ►  July (1)
    • ►  April (1)
    • ►  February (2)
    • ►  January (1)
  • ▼  2016 (9)
    • ►  December (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)
    • ▼  March (1)
      • Call a javascript function on all Postback
    • ►  February (2)
    • ►  January (1)
  • ►  2015 (56)
    • ►  December (3)
    • ►  November (6)
    • ►  October (1)
    • ►  September (2)
    • ►  August (1)
    • ►  July (8)
    • ►  June (5)
    • ►  May (8)
    • ►  April (6)
    • ►  March (3)
    • ►  February (6)
    • ►  January (7)
  • ►  2014 (1)
    • ►  May (1)
Awesome Inc. theme. Theme images by wibs24. Powered by Blogger.