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();
精彩评论