I tried adding the solution above by adding:
evt.stopPropagation();
evt.preventDefault();
but didn’t work. However adding this:
evt.stopImmediatePropagation();
solved the problem! 🙂
More Related Contents:
- jQuery get mouse position within an element
- jQuery, simple polling example
- JSONP with ASP.NET Web API
- jQuery if checkbox is checked
- jQuery text fade/transition from one text to another?
- jQuery Datepicker with text input that doesn’t allow user input
- jQuery validator and a custom rule that uses AJAX
- Use jQuery/CSS to find the tallest of all elements [duplicate]
- jQuery CORS Content-type OPTIONS
- How to make a hover effect for pseudo elements?
- jquery ui Dialog: cannot call methods on dialog prior to initialization
- jQuery is not defined in bootstrap-sass
- Difference between :hidden and :not(:visible) in jQuery
- How do I get a fixed position div to scroll horizontally with the content? Using jQuery
- How to display an IFRAME inside a jQuery UI dialog
- Extending an existing jQuery function
- Combined total for multiple jQuery-UI Sliders
- Populate dropdown select with array using jQuery
- Bootstrap popover content cannot changed dynamically
- Google Maps v3 load partially on top left corner, resize event does not work
- Removing html5 required attribute with jQuery
- Getting the actual, floating-point width of an element
- jquery trigger function when element is in viewport
- Getting the browser cursor from “wait” to “auto” without the user moving the mouse
- Validate dynamic field jquery
- Hide div if screen is smaller than a certain width
- CSS for the “down arrow” on a element?
- jQuery – draggable images on iPad / iPhone – how to integrate event.preventDefault();?
- How can I change text after time using jQuery?
- Rails accepts_nested_attributes_for with f.fields_for and AJAX