[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-24 Thread Surya Prakash
Close me ... or Test me... or You need to specify below code in examples/2.html: Close me in parent window $(document).ready(function(){ closeWindow= function() {

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-20 Thread wardenik
On May 16, 1:33 pm, wardenik wrote: > Hi, > > I've put the sample code here:http://www.warden.pl/jq/test1/ > Any help appreciated cause I'm out of ideas... :/ > > After clicking "Reload" button, the same ajax.php is loaded, but the > "closeme" doesn't work any more. > Nor the "test me" which is i

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-16 Thread wardenik
Hi, I've put the sample code here: http://www.warden.pl/jq/test1/ Any help appreciated cause I'm out of ideas... :/ After clicking "Reload" button, the same ajax.php is loaded, but the "close me" doesn't work any more. Nor the "test me" which is invoked as you have written earlier. THanks!

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-16 Thread wardenik
Hi, Actually this doesn't work for me, not even in a very basic example from jquery modal page. Anyway, I was not specific enough. In your scenario it is enough to have Close me inside of the AJAX loaded page. The problem I have is that I have a form inside the ajax page, that is using ajaxFo

[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-15 Thread Surya Prakash
Hi Dude, below is the solution for it: lets say ajax load page contains Close Ajax 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..