---
title: "iframe 提交种种问题"
author: "fancool"
date: "2010-03-24T22:57:08Z"
tags: []
categories: ["Web前端"]
slug: "iframe"
draft: false
lastmod: "2010-03-24T22:57:08Z"
id: 624111
url: "https://fancool.iteye.com/blog/624111"
---

1\. 在google浏览器中.iframe提交可以直接在iframe中空间点回车,即可跳过button的动作

    ie和ff不可以

    此时 在iframe中加入 onsubmit = "javascript:return false;" 即可防止该提交动作