Home >Web Front-end >JS Tutorial >The method preventDefault() of the JQuery event e parameter cancels the default behavior_jquery

The method preventDefault() of the JQuery event e parameter cancels the default behavior_jquery

WBOY
WBOYOriginal
2016-05-16 17:21:061311browse

The method preventDefault() of the e parameter of the JQuery event can cancel the default behavior of the object. The following code:

Copy code The code is as follows: