preventDefault property for events in jquery

event.preventDefault. Prevents the default behavior of the selected element.

In the following example, clicking on the link will display other content at the bottom of the link, content attached by the append function. The preventDefault property allows displaying personal content for any selected element, forcing this element not to perform the function that was initially designated under html.

Comments

PHP Captcha


Interesting Articles