Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
38Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
jquery-docs-with-plugins

jquery-docs-with-plugins

Ratings: (0)|Views: 7,877|Likes:
Published by api-3854120

More info:

Published by: api-3854120 on Dec 04, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

 
JQuery 1.1 with all plugins 
Documentation generated automatically from source on Thu, 18 Jan 2007 14:38:00 GMT
 
1. Core$(String,Element|jQuery)
$(String expr, Element|jQuery context) returns jQuery
 This function accepts a string containing a CSS or basic XPath selector which is then used tomatch a set of elements.The core functionality of jQuery centers around this function. Everything in jQuery is basedupon this, or uses this in some way. The most basic use of this function is to pass in anexpression (usually consisting of CSS or XPath), which then finds all matching elements.By default, $() looks for DOM elements within the context of the current HTML document.
 Example:
 Finds all p elements that are children of a div element.
 $("div > p")
 HTML:
 <p>one</p> <div><p>two</p></div> <p>three</p>
 Result:
 [ <p>two</p> ]
 Example:
 Searches for all inputs of type radio within the first form in the document
 $("input:radio", document.forms[0])
 Example:
 This finds all div elements within the specified XML document.
 $("div", xml.responseXML)
 
$(String)
$(String html) returns jQuery
 Create DOM elements on-the-fly from the provided String of raw HTML.
 Example:
 Creates a div element (and all of its contents) dynamically, and appends it to the elementwith the ID of body. Internally, an element is created and it's innerHTML property set to thegiven markup. It is therefore both quite flexible and limited.
 $("<div><p>Hello</p></div>").appendTo("#body")

Activity (38)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Sundar Nataraj liked this
Sundar Nataraj liked this
ameshlal liked this
whyread liked this
prego4076 liked this
Jayme Tosi Neto liked this
powersarathy liked this
mdmoloy liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->