简体   繁体   中英

When load ASPX page into div, code behind method wont fired

$("#test").click(function () {
    $("#panelToLoad").load("Test.aspx", function () {
    })
});

When I load a page into div like this. An event like mouse on that page won't fire.

Load page method is fired.

Page load wont get fired until your button clicked is not triggered. Is your control id correct or is this event called inside document.ready?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM