<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://www.netlobo.com/commentsrss.php?aid=62" rel="self" type="application/rss+xml" />
		<title>Comments on: Get URL Parameters Using Javascript</title>
		<description>An easy way to parse the query string in your URL to grab certain values.</description>
		<link>http://www.netlobo.com/comments/url_query_string_javascript</link>
		<language>en-us</language>
		<copyright>Copyright 2010, Netlobo.com</copyright>
		<lastBuildDate>Wed, 25 Aug 2010 15:00:30 GMT</lastBuildDate>
		<generator>Netlobo In-house RSS v1.4</generator>
		<item>
			<title>Benabdallah</title>
			<description>Great :) i use it from now on</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-591</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-591</guid>
			<pubDate>Wed, 25 Aug 2010 09:12:38 GMT</pubDate>
		</item>
		<item>
			<title>shaffy</title>
			<description>Perfect code. Short and efficient. </description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-584</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-584</guid>
			<pubDate>Sat, 31 Jul 2010 13:03:56 GMT</pubDate>
		</item>
		<item>
			<title>edup</title>
			<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Im having problems passing args to flash but when using php header(&amp;quot;Location: filename?args&amp;quot;) function to act as a swf file. It works with firefox but not with Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;object id=&amp;quot;flashfile_obj&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; data=&amp;quot;get_file.php?name=&amp;lt;?=urlencode(&amp;quot;test.swf?&amp;amp;test_to_swf=1&amp;quot;)?&amp;gt;&amp;quot; width=&amp;quot;900&amp;quot; height=&amp;quot;500&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;get_file.php?name=&amp;lt;?=urlencode(&amp;quot;test.swf?&amp;amp;test_to_swf=1&amp;quot;)?&amp;gt;&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;param name=&amp;quot;wmode&amp;quot; value=&amp;quot;transparent&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;param name=&amp;quot;base&amp;quot; value=&amp;quot;_dir&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The file get_file.php has the code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
header(&amp;quot;Location: &amp;quot;.$_REQUEST[&amp;quot;name&amp;quot;]);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It works on firefox but not in Internet Explorer. The flash is loaded but the argument is not passed.&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-581</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-581</guid>
			<pubDate>Wed, 21 Jul 2010 18:22:58 GMT</pubDate>
		</item>
		<item>
			<title>OrangeLobster</title>
			<description>Just what I\'ve been looking for over a period of several weeks. Great work, thank you. Works like a charm!</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-579</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-579</guid>
			<pubDate>Fri, 16 Jul 2010 18:22:32 GMT</pubDate>
		</item>
		<item>
			<title>WillDady</title>
			<description>I need exactly this for passing url variables into Flash via SWFObject. Thanks for sharing!</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-574</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-574</guid>
			<pubDate>Mon, 05 Jul 2010 12:50:03 GMT</pubDate>
		</item>
		<item>
			<title>bcmoney</title>
			<description>Excellent work... can\'t tell you how much I appreciate it, but one of THE most useful pieces of JavaScript I\'ve ever come across.&lt;br /&gt;
&lt;br /&gt;
This plus a little parameter validation can go a long way towards making JS play with the &amp;quot;grown up&amp;quot; server-side languages... add in HTML5 offline storage/caching, message push,  capabilities http://html5demos.com/&lt;br /&gt;
and its yet another reason I think pretty soon we will do almost everything but heavy-lifting and distributed processing algorithm/tasks in the browser.</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-570</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-570</guid>
			<pubDate>Sat, 19 Jun 2010 01:15:19 GMT</pubDate>
		</item>
		<item>
			<title>LewisCowles</title>
			<description>&lt;pre&gt;
function urldigest()
{
	var tmp = window.location.href.split(&amp;quot;?&amp;quot;);
	tmp = tmp[1].split(&amp;quot;#&amp;quot;);
	
	this.anchor = tmp[1];
	tmp = tmp[0].split(&amp;quot;&amp;amp;&amp;quot;);
		
	for(var i=0; i&amp;lt;tmp.length; i++)
	{
		var record = tmp[i].split(&amp;quot;=&amp;quot;);
		eval(&amp;quot;this.&amp;quot;+record[0]+&amp;quot; = &amp;quot;+\'&amp;quot;\'+record[1]+\'&amp;quot;\');
	}
	
}

var httpGET = new urldigest();
&lt;/pre&gt;</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-569</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-569</guid>
			<pubDate>Fri, 18 Jun 2010 22:31:39 GMT</pubDate>
		</item>
		<item>
			<title>LewisCowles</title>
			<description>why don\'t you try splitting by ? using the first array result[1] not [0] then split by # and then [0] by &amp;amp;, on a series of splits produces raw records which you can split by = and urldecode, you can load</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-568</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-568</guid>
			<pubDate>Fri, 18 Jun 2010 21:49:19 GMT</pubDate>
		</item>
		<item>
			<title>Raul</title>
			<description>Perfect code. Short and efficient. &lt;br /&gt;
Congratulations</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-566</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-566</guid>
			<pubDate>Tue, 15 Jun 2010 21:31:29 GMT</pubDate>
		</item>
		<item>
			<title>kuvic16</title>
			<description>At first thanks a lot of your article. I am using it to find out specific parameter\'s value from url. I got a problem. When my url like following&lt;br /&gt;
http://www.test.com?param1=IS20&amp;amp;21&amp;amp;param2=abcd&lt;br /&gt;
That means if parameter\'s value contain \'&amp;amp;\' then it creates a problem.&lt;br /&gt;
It does not pick up the actual data.&lt;br /&gt;
I need like that &lt;br /&gt;
&lt;br /&gt;
param1=IS20&amp;amp;2&lt;br /&gt;
param2=abcd&lt;br /&gt;
&lt;br /&gt;
please help me!</description>
			<link>http://www.netlobo.com/comments/url_query_string_javascript#comment-563</link>
			<guid>http://www.netlobo.com/comments/url_query_string_javascript#comment-563</guid>
			<pubDate>Mon, 14 Jun 2010 15:51:12 GMT</pubDate>
		</item>
	</channel>
</rss>

<!-- pageGen: 0.002 secs -->
<!-- memcache hits: 2 memcache misses: 0 -->