I’m looking to understand exactly what the symbol is bound to and how it was bound, and what its underlying structure looks like.
I’m guessing it’s done with a label but I’m not experienced enough with JavaScript to be sure.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Odd question. The
$symbol is just an alias forjQuery.So, instead of this:
…You can do this:
It doesn’t necessarily need to be
$either. If you like, you can ADD MORE MONEY. This works:It seems as though normal JavaScript variable naming rules apply:
$and_If you wanted, your alias could be
orange_peanut, but let’s not do that for obvious reasons.Hope that helps! 🙂