My goal is to remove the 'jump page' ( b.jsp ) from History , so when I see the pdf file, and then hit Back, I will go back to 'a.jsp'.
This works in Firefox but not in IE ... Anyone have any idea ??
This works in Firefox but not in IE ... Anyone have any idea ??
Code:
<!-- a.jsp -> .. .. <a href="b.jsp">File B</a> .. .. <!-- b.jsp -> .. <form name="myform" action="" method="POST"> <input type="button" onClick="goHere('c.jsp')" value="YES"> </form> <script language="javascript"> function goHere(url) { window.location.replace(url); } </script> <!-- c.jsp -> .. <% response.sendRedirect("http://blahblah/any.pdf"); %>
Comment