From 2fb09d07f29aaacac3afd6b64c997e761a292864 Mon Sep 17 00:00:00 2001 From: Dag Odenhall Date: Sat, 5 Jun 2010 15:06:14 +0800 Subject: [PATCH] Another typo in jQuery pattern --- docs/patterns/jquery.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/patterns/jquery.rst b/docs/patterns/jquery.rst index 397635c7..a97f7ff4 100644 --- a/docs/patterns/jquery.rst +++ b/docs/patterns/jquery.rst @@ -150,7 +150,7 @@ explanation of the little bit of code above: 1. ``$(function() { ... })`` specifies code that should run once the 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 when the user clicked on the element. If that function returns `false`, the default behaviour will not kick in (in this case, navigate