forked from orbit-oss/flask
Another typo in jQuery pattern
This commit is contained in:
parent
e7a9df784c
commit
2fb09d07f2
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ explanation of the little bit of code above:
|
||||||
|
|
||||||
1. ``$(function() { ... })`` specifies code that should run once the
|
1. ``$(function() { ... })`` specifies code that should run once the
|
||||||
browser is done loading the basic parts of the page.
|
browser is done loading the basic parts of the page.
|
||||||
2. ``#('selector')`` selects an element and lets you operate on it.
|
2. ``$('selector')`` selects an element and lets you operate on it.
|
||||||
3. ``element.bind('event', func)`` specifies a function that should run
|
3. ``element.bind('event', func)`` specifies a function that should run
|
||||||
when the user clicked on the element. If that function returns
|
when the user clicked on the element. If that function returns
|
||||||
`false`, the default behaviour will not kick in (in this case, navigate
|
`false`, the default behaviour will not kick in (in this case, navigate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue