/ Published in: jQuery
                    
                                        
Description: If this method is called, the default action of the event will not be triggered.
For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by an event handler that was triggered by this event.
                For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by an event handler that was triggered by this event.
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$("a").click(function(event) {
event.preventDefault();
//CODE
});
URL: http://api.jquery.com/event.preventDefault/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                