firefox 9 & jquery bug with input submit

2019-09-02 10:41发布

问题:

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?

回答1:

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