Commit dd78e759 authored by Chris Rebert's avatar Chris Rebert
Browse files

docs/getting-started/javascript.md: Hyperlink preventDefault() mention

[skip sauce]
parent 5b113b2c
Showing with 1 addition and 1 deletion
+1 -1
......@@ -73,7 +73,7 @@ $.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Boot
Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. `show`) is triggered at the start of an event, and its past participle form (ex. `shown`) is triggered on the completion of an action.
All infinitive events provide `preventDefault` functionality. This provides the ability to stop the execution of an action before it starts.
All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts.
{% highlight js %}
$('#myModal').on('show.bs.modal', function (e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment