Web tier: servlets, JSP, Web frameworks: AJAX and window.location.href
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.
- Posted by: Bobby Shah
- Posted on: November 22 2006 12:56 EST
Also the above mentioned problem is with IE and not with Firefox. It works in Firefox as expected. Any ideas !!
That helps!!! Thanks a lot for the reply..