Forum Moderators: open

Message Too Old, No Replies

Syntaxis $("#

Can you explain me how i can use it?

         

orion_rus

6:17 am on Sep 14, 2009 (gmt 0)

10+ Year Member



Hello world!
Often in jsquery i see syntaxis $("#_some_id") - can u explain me what is this means? and how i can use it without jsquery?
Thanks!

daveVk

8:08 am on Sep 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A crude translation is

document.getElementById("_some_id")

jQuery actual does not return the element but an object refering to the element.

if you replace # by other, you can do all getElementsBy... and much more.