Hi Dude,
below is the solution for it:
lets say ajax load page contains
<a href='#' onclick='parent.CloseAjaxPage();'>Close Ajax</a>
And on parent page implement this code:
CloseAjaxPage = function(){
$("#modalClose").click();
}
I hope this is clear
Please let me know if u have any issues::::
Happy JQuerying..............
On Thu, May 14, 2009 at 9:08 PM, wardenik <[email protected]> wrote:
>
> Hi,
>
> I have a standard page loaded with jqmodal box that is loading a form
> via ajax.
> Now I want to close that modal after submit from the inside of page
> that was loaded, depending on the form result.
> I've tried
> parent.$(".jqmAlert").jqmHide();
> and many other versions but I always get "h is undefined" or some
> other errors.
> Maybe somebody had this problem and can give me a hint?
>
> Thanks!