开发者

Refresh Div on Parent Page from Child Overlay

开发者 https://www.devze.com 2023-02-06 05:07 出处:网络
I have a page called menu.php that opens a jQuery Tools overlay window from a div called #menulist.This window loads content from a different page (editmenu.php).The editmenu.php does some ajax, etc..

I have a page called menu.php that opens a jQuery Tools overlay window from a div called #menulist. This window loads content from a different page (editmenu.php). The editmenu.php does some ajax, etc..

When its done (on Success), however, is there a way to have the editmenu.p开发者_StackOverflowhp page refresh the DIV #menulist (on menu.php page) without refreshing the entire menu.php page? Right now I am using:

window.location.reload(true);

But that refreshes the entire page. Not what I am looking for.

I have done this before using iFrames, but want to avoid that extra step.


$('#menulist').load('menu.php');
0

精彩评论

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