开发者

How can i change innerhtml of a div in the parent page from jquery pop up

How can i change innerhtml of 开发者_开发知识库a div in the aspx page when clicking on jquery pop up close button?


With this:

$( "#your_dialog" ).bind( "dialogbeforeclose", function(event, ui) {
  $("#main_page_div").html("Your new HTML");
});

Hope this helps. Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜