Skip to content
Myr

Another typo in jQuery pattern

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dag Odenhall · committed by Armin Ronacher · parent e7a9df7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/jquery.rst+1 added-1 removed
148 unmodified lines
149explanation of the little bit of code above:1501511. ``$(function() { ... })`` specifies code that should run once the152 browser is done loading the basic parts of the page.1532. ``#('selector')`` selects an element and lets you operate on it.1532. ``$('selector')`` selects an element and lets you operate on it.1543. ``element.bind('event', func)`` specifies a function that should run155 when the user clicked on the element. If that function returns156 `false`, the default behaviour will not kick in (in this case, navigate157 to the `#` URL).
10 unmodified lines