firefox 9&与输入提交的jquery错误 [英] firefox 9 & jquery bug with input submit

查看:80
本文介绍了firefox 9&与输入提交的jquery错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个奇怪的问题,以html格式提交输入

 < input type =submitname = _savevalue =save/> 

当我点击这个提交按钮时,它会消失,不会提交form.i,第二次点击它作品,并再次出现!

我发现,如果我删除js链接jquery.min.js这个问题。但我需要jquery.min.js



我做错了什么?为什么jquery.min.js不能使用这个简单的输入提交按钮?!

----- UPDATE ----



经过一番调查,似乎这个问题在Chrome&与更新的FF版本9.0.1(linux)有关。

有人可以确认FF 9是否存在使用jquery呈现输入提交的错误?

解决方案

除了不推荐使用的属性名称,该代码没有任何问题。


i have a strange problem with an input submit in my html form

<input type="submit" name="_save" value="save"  />

when i click this submit button it disappears and doesn't submit form.i click it second time it works and appears again!

i found that if i remove the js link to jquery.min.js this problem goes . but i need jquery.min.js

am i doing something wrong? why is the jquery.min.js not working with this simple input submit button?!

-----UPDATE----

after some investigation it seems this issue doesn't happen in chrome & is related to newer FF version 9.0.1 (linux).

can someone confirm if FF 9 has a bug rendering input submit while using jquery?

解决方案

Aside from the attribute name being deprecated, there is nothing wrong with that code.

这篇关于firefox 9&amp;与输入提交的jquery错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆