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

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

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