开发者

jQuery Colorbox: Outside HTML (AJAX) How to close on button click of child window

In page 1(first.aspx) I am using ColorBox 开发者_开发技巧to show a model popup where I am showing another HTML page inside that (outside HTML - AJAX). I want to add a button to my second page and when a user clicks on that button I want to close the ColorBox. What method should I call for that?


This should work:

parent.$.fn.colorbox.close();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜