<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.code4lib.org/index.php?action=history&amp;feed=atom&amp;title=JQuery_intro</id>
		<title>JQuery intro - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.code4lib.org/index.php?action=history&amp;feed=atom&amp;title=JQuery_intro"/>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=JQuery_intro&amp;action=history"/>
		<updated>2026-04-09T07:08:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.code4lib.org/index.php?title=JQuery_intro&amp;diff=5974&amp;oldid=prev</id>
		<title>Kenirwin: New page: &lt;code&gt; &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js&quot;&gt;&lt;/script&gt; &lt;code&gt;  =Selectors= &lt;code&gt; $('a')                     // select anchor tags  $('a[href*=code4lib....</title>
		<link rel="alternate" type="text/html" href="https://wiki.code4lib.org/index.php?title=JQuery_intro&amp;diff=5974&amp;oldid=prev"/>
				<updated>2010-06-12T13:59:38Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;lt;code&amp;gt; &amp;lt;script src=&amp;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;code&amp;gt;  =Selectors= &amp;lt;code&amp;gt; $(&amp;#039;a&amp;#039;)                     // select anchor tags  $(&amp;#039;a[href*=code4lib....&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;script src=&amp;quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Selectors=&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$('a')                     // select anchor tags&lt;br /&gt;
&lt;br /&gt;
$('a[href*=code4lib.org]') // just the ones with c4l &lt;br /&gt;
&lt;br /&gt;
$('#section1')             // where id=section1&lt;br /&gt;
&lt;br /&gt;
$('.hidden')               // where class=hidden&lt;br /&gt;
&lt;br /&gt;
$('ul#dictionary li')      // list items in a particular list&lt;br /&gt;
&lt;br /&gt;
$('body &amp;gt; div')            // each div that's a first-level child&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=What to do with selected div=&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
.text()                    // grab the text&lt;br /&gt;
&lt;br /&gt;
.text('new text')          // overwrite the text&lt;br /&gt;
&lt;br /&gt;
.html()                    // grab the html INSIDE&lt;br /&gt;
&lt;br /&gt;
.attr('id')                // grab the value of the ID attribute&lt;br /&gt;
&lt;br /&gt;
.addClass('purple')        // add a class&lt;br /&gt;
&lt;br /&gt;
.removeClass('menu')       // remove&lt;br /&gt;
&lt;br /&gt;
.insertBefore('new content') // new content &amp;lt;div id=&amp;quot;other&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
.insertAfter('new content')  // &amp;lt;div id=&amp;quot;other&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; new content&lt;br /&gt;
&lt;br /&gt;
.append('new content')       // &amp;lt;div id=&amp;quot;other&amp;quot;&amp;gt;other new content&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
.prepend('new content')      // &amp;lt;div id=&amp;quot;other&amp;quot;&amp;gt;new content other&amp;lt;/div&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenirwin</name></author>	</entry>

	</feed>