xchapter

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::
View Code
1 <form id="myform" runat="server" action="" methed="post">
2 <script type="text/javascript">try{document.forms[0].action=""}catch(ex){}</script>
3 </form>


此段Js代码需放置form标签内。

posted on 2011-10-11 23:44  xchapter  阅读(107)  评论(0)    收藏  举报