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

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

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