Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hk__2
on Oct 3, 2012
|
parent
|
context
|
favorite
| on:
DoubleDollarJS.com
In Chrome/Chromium, $$() is a shortcut for document.querySelectorAll().
yahelc
on Oct 3, 2012
|
next
[–]
Only in the Webkit Inspector console, nowhere else. $ is also a shortcut (I forget for what though).
They're over-written by a page if that page defines that variable globally in some way.
michaelbuckbee
on Oct 3, 2012
|
prev
[–]
It is also used by prototype.js -
http://api.prototypejs.org/dom/dollar-dollar/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: