isDefaultPrevented
Prevent errors
jquery isDefaultPrevented() method syntax
Function:isDefaultPrevented() method returns whether the preventDefault() method is called on the specified event object.
Syntax:event.isDefaultPrevented()
Parameters:
Parameter | Description |
event | Required. Specifies the events that need to be checked. The event parameter comes from the event binding function. |
jquery isDefaultPrevented() method example
php中文网preventDefault() 方法将防止上面的链接打开 URL。
请点击该链接,检查是否阻止了默认动作。
Run instance »
Click the "Run instance" button to view the online instance
##