Notes on Java, Solaris, PHP, LDAP…

June 20, 2008

How to get a Javascript element by id in JQuery/Prototype

Filed under: Java — negev @ 6:54 pm

In JQquery/Prototype: $(‘#id-of-the-element’) is same as document.geleElementById(‘id-of-the-element’)


1 Comment »

  1. yes $ represents jquery OR prototype just pass id of element and get the element.

    Comment by Q and A — April 21, 2012 @ 5:10 pm | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: