Skip to content

Commit ed97aef

Browse files
committed
Rewording this to hopefully be a little clearer - Closes jquery#273
1 parent 6b89b30 commit ed97aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/about-jquery/how-jquery-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ $.get( "myhtmlpage.html", myCallBack(param1, param2) );
183183

184184
The reason this fails is that the code executes `myCallBack( param1, param2 )` immediately
185185
and then passes the myCallBack's *return value* as the second parameter to `$.get`.
186-
We actually want to pass in `myCallBack` the function, not `myCallBack`'s return value
186+
We actually want to pass the function `myCallBack`, not `myCallBack( param1, param2)`'s return value
187187
(which might or might not be a function). So, how to pass in `myCallBack` *and* include its arguments?
188188

189189
#### Right

0 commit comments

Comments
 (0)