Posted in Javascript onNovember 30, 2008
从页面a.html到页面b.html
a.html
<html> <head> <title>a</title> <script language = "javascript"> function callBack(){ alert("Come back !"); } </script> </head> <body> <a href="b.html">去b页面</a> </body> </html>
b.html
<html> <head> <title>b</title> <script language = "javascript"> function goB(){ window.opener.callBack(); } </script> </head> <body> <a href="#" onClick="javascript:goB();">返回a页面</a> </body> </html>
Js callBack 返回前一页的js方法
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@