i write a simple code in asp.net button click event,for example i write this:  

```
Label1.text="Hello Stackoverflow!";

```

i want when up code finish,call the my jquery function,for much explain:  

when the asp.net button click source finish run the my jquery function and alert to user.  

my jquery code in html page is:  

```
(function ($) {
        // DOM Ready
        $(function () {
            // Binding a click event
            // From jQuery v.1.7.0 use .on() instead of .bind()
            $('#Button1').bind('click', function (e) {
                // Prevents the default action to be triggered. 
                e.preventDefault();
                // Triggering bPopup when click event is fired
                $('#element_to_pop_up').bPopup();
            });
        });
    })(jQuery);

```

thanks.