How to call a function along with load method in jquery
Hi all,
In my application i want to a display a part of another page in current page.using following code
- $('#ContentPlaceHolder1_btnaddress').click(function (e) {
- e.preventDefault();
-
- $('#display').load("Address.aspx #Address");
- });
this is for displaying a div tag Address in the current page.i don't need complete page.
my problem is i want to call a function named display along with above code .
how it is possible.
if i use $('#display').load("Address.aspx") i will get everything .but i don't need the complete page.
i tried following code code
$('#display').load("Address.aspx #Address" ,display);
but not working
how to solve this
Regards
Baiju