as follows
IE6/7/8/9/Opera12/Firefox5 | Safari5/Chrome12 | |
INPUT[type=text] INPUT[type=password] INPUT[type=radio] INPUT[type=checkbox] INPUT[type=button] INPUT[type=submit] INPUT[type=image] INPUT[type=hidden] INPUT[type=reset] INPUT[type=submit] INPUT[type=file]1 BUTTON[type=button] |
支持 | 支持 |
other | 支持 | 不支持 |
That is, Safari/Chrome does not fully support the click method. The click method is included in the HTML5 draft, and I believe Safari/Chrome will also support it in the near future.
It should be noted that not all elements in versions prior to Firefox 5 support the click method, as can be seen from the test results of w3help at that time.
Mozilla official also has the following words
Although Firefox5 now adds click methods to all elements, you still need to note that its click method cannot trigger A's default behavior . IE/Opera can.