I am not familiar with this syntax. What does the $. mean before the function call?
I am not familiar with this syntax. What does the $. mean before the
Share
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.
$is just a name of some object. It could be jQuery, or Prototype, in case you’re using one of these libraries.So
$.functionName()simply stands for calling a function namedfunctionNameof the object named$.