Jquery submit ie6 failure cause analysis and solution
- 2020-03-29 23:46:50
- OfStack
Ie6,
$(' a. tn). Click (function () {
The form submit ();
})
Click invalidation;
Analysis:
Microsoft's lower version of the browser executes the link tag's own event, the href event, which interrupts the form's submit event, "return false;" Interrupt the execution of the link tag's own event.
Solution: instead, use jquery to directly handle the click of images, text, etc
$(' a. tn). Click (function () {
$(" form "). The get (0). The submit ();
Return false;
});