<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ajax Tutorial &#187; dollar</title>
	<atom:link href="http://tutorialajax.com/web/dollar/feed" rel="self" type="application/rss+xml" />
	<link>http://tutorialajax.com</link>
	<description>Prototype, jQuery and another Ajax tutorials</description>
	<lastBuildDate>Tue, 11 Nov 2008 14:24:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Prototype-CSS $$() function</title>
		<link>http://tutorialajax.com/the-prototype-css-function.html</link>
		<comments>http://tutorialajax.com/the-prototype-css-function.html#comments</comments>
		<pubDate>Sat, 26 Jul 2008 19:35:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Prototype]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dollar]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://localhost/ajax-framework/?p=8</guid>
		<description><![CDATA[The dollar dollar function is Prototype&#8217;s CSS Selector Engine. The &#8216;$$()&#8217; function returns all css match elements. It was used quite same as the CSS selector. For example, to get all tags with the class &#8220;myclass&#8221;, we use the following:
$$(".myclass")
This function will return the array of elements match the selector string. And We can make [...]


Related posts:<ol><li><a href='http://tutorialajax.com/the-prototype-function.html' rel='bookmark' title='Permanent Link: The Prototype $() function'>The Prototype $() function</a></li>
<li><a href='http://tutorialajax.com/the-form-f-function.html' rel='bookmark' title='Permanent Link: The Form $F() function'>The Form $F() function</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The dollar dollar function is Prototype&#8217;s CSS Selector Engine. The &#8216;$$()&#8217; function returns all css match elements. It was used quite same as the CSS selector. For example, to get all tags with the class &#8220;myclass&#8221;, we use the following:</p>
<p><code>$$(".myclass")</code></p>
<p>This function will return the array of elements match the selector string. And We can make the returned elements bold like this:</p>
<p><code>$$(".myclass").invoke('setStyle', { fontWeight: bold; })</code></p>
<p>Easy as pie&#8230;</p>


<p>Related posts:<ol><li><a href='http://tutorialajax.com/the-prototype-function.html' rel='bookmark' title='Permanent Link: The Prototype $() function'>The Prototype $() function</a></li>
<li><a href='http://tutorialajax.com/the-form-f-function.html' rel='bookmark' title='Permanent Link: The Form $F() function'>The Form $F() function</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://tutorialajax.com/the-prototype-css-function.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Prototype $() function</title>
		<link>http://tutorialajax.com/the-prototype-function.html</link>
		<comments>http://tutorialajax.com/the-prototype-function.html#comments</comments>
		<pubDate>Sun, 20 Jul 2008 19:23:58 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Prototype]]></category>
		<category><![CDATA[dollar]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://localhost/ajax-framework/?p=7</guid>
		<description><![CDATA[The dollar function is one of the Prototype Utility Function. $() is the most frequently used prototype&#8217;s function. basically it was used to refer an element in the HTML page. The function is quickly shorthand for getElementById.
The usual function identifying an element is:
document.getElementById("element_id")
The $() function reduces the code to:
$("element_id")
For example, you can set the CSS [...]


Related posts:<ol><li><a href='http://tutorialajax.com/the-prototype-css-function.html' rel='bookmark' title='Permanent Link: The Prototype-CSS $$() function'>The Prototype-CSS $$() function</a></li>
<li><a href='http://tutorialajax.com/font-zoomer-javascript.html' rel='bookmark' title='Permanent Link: Font Zoomer JavaScript'>Font Zoomer JavaScript</a></li>
<li><a href='http://tutorialajax.com/using-prototype.html' rel='bookmark' title='Permanent Link: Using Prototype'>Using Prototype</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The dollar function is one of the <strong>Prototype Utility Function</strong>. <em>$()</em> is the most frequently used prototype&#8217;s function. basically it was used to refer an element in the HTML page. The function is quickly shorthand for <em>getElementById</em>.</p>
<p>The usual function identifying an element is:<br />
<code>document.getElementById("element_id")</code></p>
<p>The $() function reduces the code to:<br />
<code>$("element_id")</code></p>
<p>For example, you can set the CSS text color with this code:<br />
<code>$("element_id").style.color = "#ffffff";</code></p>
<p>Or, the &#8220;Prototype way&#8221;:<br />
<code>$("id_of_element").setStyle({color: '#ffffff'});</code></p>


<p>Related posts:<ol><li><a href='http://tutorialajax.com/the-prototype-css-function.html' rel='bookmark' title='Permanent Link: The Prototype-CSS $$() function'>The Prototype-CSS $$() function</a></li>
<li><a href='http://tutorialajax.com/font-zoomer-javascript.html' rel='bookmark' title='Permanent Link: Font Zoomer JavaScript'>Font Zoomer JavaScript</a></li>
<li><a href='http://tutorialajax.com/using-prototype.html' rel='bookmark' title='Permanent Link: Using Prototype'>Using Prototype</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://tutorialajax.com/the-prototype-function.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
