-
AJAX and window.location.href (3 messages)
- Posted by: Bobby Shah
- Posted on: November 22 2006 12:56 EST
Hi, I have a page one.jsp which has a div populated by ajax resonse. In the ajax response, I have a link that says window.location.href = "two.jsp" I suppose that when I click on this link, the whole of one.jsp page should go to two.jsp; but nothing happens. Is it because since the link came from an ajax reponse, it is not linked to the parent one.jsp? Can someone throw some light on it.Threaded Messages (3)
- ALSO THIS IS THE problem with IE by Bobby Shah on November 22 2006 13:08 EST
- Re: ALSO THIS IS THE problem with IE by Sergiu Burian on November 27 2006 12:57 EST
- Re: ALSO THIS IS THE problem with IE by Bobby Shah on November 29 2006 03:36 EST
- Re: ALSO THIS IS THE problem with IE by Sergiu Burian on November 27 2006 12:57 EST
-
ALSO THIS IS THE problem with IE[ Go to top ]
- Posted by: Bobby Shah
- Posted on: November 22 2006 13:08 EST
- in response to Bobby Shah
Also the above mentioned problem is with IE and not with Firefox. It works in Firefox as expected. Any ideas !! -
Re: ALSO THIS IS THE problem with IE[ Go to top ]
- Posted by: Sergiu Burian
- Posted on: November 27 2006 12:57 EST
- in response to Bobby Shah
Hi ! It looks like an IE bug ... Check this out : IE window.location.href. If you set this from the window.location.href in a Javascript function, is enough to return false. I hope it helps ! Cheers, Sergiu -
Re: ALSO THIS IS THE problem with IE[ Go to top ]
- Posted by: Bobby Shah
- Posted on: November 29 2006 15:36 EST
- in response to Sergiu Burian
That helps!!! Thanks a lot for the reply..