Wednesday, December 3, 2008
用javascript 返回上一级页面
<input id="Button1" type="button" value="button" onclick="javascript:history.go(-1);" />
用这个onclick="javascript:history.go(-1);"方法可以实现页面返回功能,而且父页面保持原状态(即跳转到子页面之前的状态)。
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment