通过检查源代码可以看到:
/**
* Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
*
* @param handler A function to execute each time the event is triggered.
* @see {@link https://api.jquery.com/submit/}
* @since 1.0
* @deprecated 3.3
*/
然而,在jQuery博客这里似乎没有提到。现在被标记为弃用的替代方法是什么?
.on()
可以完全胜任同样的工作。 - Erik Philips