Total Pageviews

Friday 11 September 2015

Call a javascript after update panel in asp.net

  <script>
        ///<summary>
        ///  This will fire on initial page load,
        ///  and all subsequent partial page updates made
        ///  by any update panel on the page
        ///</summary>
        function pageLoad() {


            $(document).ready(function () {
                $(function myFunction() {



                    //then load the JavaScript file
                    $.getScript('https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js');
                    $.getScript('http://lab.iamrohit.in/js/location.js');


                });
            });


        }
</script>