I'm in page tem.jsp from开发者_StackOverflow there I made a call like this
<a href="submit.htl" target="_parent">image.gif</a>
this will load a submit.jsp page
on clicking a button i want to go back to temp.jsp.
since i opened with target attribute i can't close with the javascript window.close()
, how can i close this page?
You said "click a button to go back", why not make the "button" a link, just like the example of the link you used to get them to submit.htl
?
<a href="temp.jsp" target="_parent">Go Back</a>
精彩评论