<?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; utility</title>
	<atom:link href="http://tutorialajax.com/web/utility/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 $() 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>

