<?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>Chimera &#187; javascript</title>
	<atom:link href="http://cahayadi.com/site/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://cahayadi.com/site</link>
	<description>Knowledge Belong To The World</description>
	<lastBuildDate>Mon, 08 Feb 2010 11:16:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript: Get URL Variables</title>
		<link>http://cahayadi.com/site/2008/06/24/javascript-get-url-variables/</link>
		<comments>http://cahayadi.com/site/2008/06/24/javascript-get-url-variables/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 05:00:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://cahayadi.com/site/?p=233</guid>
		<description><![CDATA[
&#60;script type="text/javascript"&#62;
// Read a page's GET URL variables and return them as an associative array.
function getUrlVars() {
  var vars = [], hash;
  var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&#38;');
  for(var i = 0; i &#60; hashes.length; i++) {
    hash = hashes[i].split('=');
    vars.push(hash[0]);
    vars[hash[0]] = [...]]]></description>
			<content:encoded><![CDATA[<pre>
&lt;script type="text/javascript"&gt;
// Read a page's GET URL variables and return them as an associative array.
function getUrlVars() {
  var vars = [], hash;
  var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&amp;');
  for(var i = 0; i &lt; hashes.length; i++) {
    hash = hashes[i].split('=');
    vars.push(hash[0]);
    vars[hash[0]] = hash[1];
  }
  return vars;
}
// Example for URL http://www.example.com/index.html?hello=bonjour&amp;goodevening=bonsoir
var hash = getUrlVars();
// alert(hash['hello']); // prints 'bonjour'
// alert(hash['goodevening']); // prints 'bonsoir'
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://cahayadi.com/site/2008/06/24/javascript-get-url-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
