<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Use Javascript to Parse a Query String</title>
	<atom:link href="http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/</link>
	<description>Writing, Designing, and Making Money Online</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:23:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Christian</title>
		<link>http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/comment-page-1/#comment-1644</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Fri, 18 Apr 2008 15:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/#comment-1644</guid>
		<description>I just hoping you could give me some advice...right now I have a page where I can enter a URL in a text box and using a command button, decode it. Here is how the function looks:

function decode() {
	var obj = document.getElementById(&#039;dencoder&#039;);
	var encoded = obj.value;
	obj.value = unescape(encoded.replace(/\+/g,  &quot; &quot;));
}

Can you help me combine the two so when I press the button it parses out the URL as well</description>
		<content:encoded><![CDATA[<p>I just hoping you could give me some advice&#8230;right now I have a page where I can enter a URL in a text box and using a command button, decode it. Here is how the function looks:</p>
<p>function decode() {<br />
	var obj = document.getElementById(&#8216;dencoder&#8217;);<br />
	var encoded = obj.value;<br />
	obj.value = unescape(encoded.replace(/\+/g,  &#8221; &#8220;));<br />
}</p>
<p>Can you help me combine the two so when I press the button it parses out the URL as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess</title>
		<link>http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/comment-page-1/#comment-1318</link>
		<dc:creator>Jess</dc:creator>
		<pubDate>Fri, 04 Apr 2008 18:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/#comment-1318</guid>
		<description>there&#039;s no for each loop in javascript....anybody knows the equivalent for collection?</description>
		<content:encoded><![CDATA[<p>there&#8217;s no for each loop in javascript&#8230;.anybody knows the equivalent for collection?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adila</title>
		<link>http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/comment-page-1/#comment-1273</link>
		<dc:creator>Adila</dc:creator>
		<pubDate>Thu, 03 Apr 2008 10:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/#comment-1273</guid>
		<description>I guess it&#039;s the :
for each (var pair in valuePairs)

that trigger it
&quot;for each&quot;</description>
		<content:encoded><![CDATA[<p>I guess it&#8217;s the :<br />
for each (var pair in valuePairs)</p>
<p>that trigger it<br />
&#8220;for each&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/comment-page-1/#comment-633</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 11 Mar 2008 20:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/03/04/use-javascript-to-parse-a-query-string/#comment-633</guid>
		<description>I get JS errors when running this code exactly as is. The error seems to be with the for-each loop.  

the error:
Expected&#039;(&#039;

char 6 of this line:
 for each (var pair in valuePairs) {

what is missing from your code that is causing this error?</description>
		<content:encoded><![CDATA[<p>I get JS errors when running this code exactly as is. The error seems to be with the for-each loop.  </p>
<p>the error:<br />
Expected&#8217;(&#8216;</p>
<p>char 6 of this line:<br />
 for each (var pair in valuePairs) {</p>
<p>what is missing from your code that is causing this error?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
