> the target variable in your sample code has a $-prefix ($target). I think
> this is just an eye-catcher for variables - a similar coding to php. If not
> - if it has to do with something special in Javascript or jQuery - please
> let me know ...
"$" is just a regular character in variable names. Many jQuery users
will use it to visually distinguish variables representing jQuery
collections from DOM elements or other JS variables. Just a reminder
to myself.
-- Scott
No comments:
Post a Comment