<?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>mouse pi-lot &#187; Javascript and jQuery</title>
	<atom:link href="http://mousepilot.co.uk/topics/code/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://mousepilot.co.uk</link>
	<description>–noun: A computer user lacking in any recognisable skills&#34;</description>
	<lastBuildDate>Thu, 26 Apr 2012 15:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Reading GET variables with JavaScript</title>
		<link>http://mousepilot.co.uk/2011/02/reading-get-variables-with-javascript/</link>
		<comments>http://mousepilot.co.uk/2011/02/reading-get-variables-with-javascript/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 09:47:29 +0000</pubDate>
		<dc:creator>Simon Stevens</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript and jQuery]]></category>

		<guid isPermaLink="false">http://mousepilot.co.uk/?p=42</guid>
		<description><![CDATA[I found a great piece of code whilst trying to figure out how to read get variables with javascript. function $_GET(q,s) { s = s ? s : window.location.search; var re = new RegExp('&#38;'+q+'(?:=([^&#38;]*))?(?=&#38;&#124;$)','i'); return (s=s.replace(/^?/,'&#38;').match(re)) ? (typeof s[1] == &#8230; <a href="http://mousepilot.co.uk/2011/02/reading-get-variables-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found a great piece of code whilst trying to figure out how to read get variables with javascript.</p>
<p><code><br />
function $_GET(q,s) {<br />
s = s ? s : window.location.search;<br />
var re = new RegExp('&amp;'+q+'(?:=([^&amp;]*))?(?=&amp;|$)','i');<br />
return (s=s.replace(/^?/,'&amp;').match(re)) ? (typeof s[1] == 'undefined' ? '' : decodeURIComponent(s[1])) : undefined;<br />
}<br />
</code></p>
<p>Credit goes to <a href="http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/">Online Aspect</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mousepilot.co.uk/2011/02/reading-get-variables-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

