answersLogoWhite

0

The standard shortcut for the jQuery function provided by the jQuery library is $. For instance:

$('p').css('color','red');

Would select every paragraph on the page, and change it's font color to red. This line is exactly the same as:

jQuery('p').css('color','red');

Often the $ is used by other libraries, so it may be turned off in jQuery in "noConfilct" mode.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: Which sign does jQuery use as a shortcut for jQuery?
Write your answer...
Submit
Still have questions?
magnify glass
imp