8月 222009
 

   曾经写过一个javascript自动常见form,并提交到自动创建的iframe的一个应用。由于提交之后跳转到另外一个页面,然后回退,会返现form的提交请求又自动重发了一次,因为是提交到一个隐形的iframe中的,我就在提交之后把iframe给删除了,但是回退后还会重新发送提交请求,我没有办法,知道有一天我在走路的时候,突然想到问题可能出现在为删除的form上,于是,我测试了一个,提交form之后就删除form,然后回退就没有该问题了,困扰了我几个月的问题终于真相大白、水落石出了。

 Posted by at 下午 1:24

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据