<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/get</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 07:40:15 GMT</pubDate>
<item>
<title>(JavaScript) Function to simulate PHP $_GET in javascript - sergiazow</title>
<link>http://snipplr.com/view/67067/function-to-simulate-php-get-in-javascript/</link>
<description><![CDATA[ <p>Simulate the $_GET array from php in javascript to get url parameters this way:
url= http://localhost/?var1=example
$_GET['var1'] will return "example"

Just copy and paste the code.</p> ]]></description>
<pubDate>Thu, 06 Sep 2012 04:42:41 GMT</pubDate>
<guid>http://snipplr.com/view/67067/function-to-simulate-php-get-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) get params in JS - maceblue</title>
<link>http://snipplr.com/view/66420/get-params-in-js/</link>
<description><![CDATA[ <p>get paramt</p> ]]></description>
<pubDate>Mon, 30 Jul 2012 17:25:31 GMT</pubDate>
<guid>http://snipplr.com/view/66420/get-params-in-js/</guid>
</item>
<item>
<title>(JavaScript) get Current SPSite - Hirsel</title>
<link>http://snipplr.com/view/65069/get-current-spsite/</link>
<description><![CDATA[ <p>without trailing slash</p> ]]></description>
<pubDate>Thu, 24 May 2012 17:38:07 GMT</pubDate>
<guid>http://snipplr.com/view/65069/get-current-spsite/</guid>
</item>
<item>
<title>(JavaScript) get GET and POST variables in javascript - FatFolderDesigner</title>
<link>http://snipplr.com/view/62892/get-get-and-post-variables-in-javascript/</link>
<description><![CDATA[ <p>Usually when working with form you use a server to handle it, and if your doing it entirely in javascript no reload is required, but what if you wanted to take the information and use it in a javascript on another page, completely client side. I had that problem, and found this solution.

First is how to get GET variables in javascript, it works by breaking down the URL location with a regular expression giving you a variable that behaves like the PHP $_GET variable.

Second is for POST variables and, unfortunately requires a server side script to work since javascript has no way to acces the POSt on it's own. The code below is for PHP, but should work for any language, it is also untested as I was really aiming for GET at the time.

And questions, comments, or concerns let me know here or at the link, you'll find a bit more information this there as well.</p> ]]></description>
<pubDate>Mon, 30 Jan 2012 09:43:54 GMT</pubDate>
<guid>http://snipplr.com/view/62892/get-get-and-post-variables-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Use variables passed in the URL in Javascript/jQuery - sicbot</title>
<link>http://snipplr.com/view/60526/use-variables-passed-in-the-url-in-javascriptjquery/</link>
<description><![CDATA[ <p>(I did not write this, but I forgot where I got it.)

This code will find all the variables passed though the URL and return the one you are looking for.</p> ]]></description>
<pubDate>Fri, 04 Nov 2011 02:38:39 GMT</pubDate>
<guid>http://snipplr.com/view/60526/use-variables-passed-in-the-url-in-javascriptjquery/</guid>
</item>
<item>
<title>(JavaScript) Ifram get parent - Alexintosh</title>
<link>http://snipplr.com/view/60286/ifram-get-parent/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 28 Oct 2011 02:29:50 GMT</pubDate>
<guid>http://snipplr.com/view/60286/ifram-get-parent/</guid>
</item>
<item>
<title>(JavaScript) Ifram get parent - Alexintosh</title>
<link>http://snipplr.com/view/60285/ifram-get-parent/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 28 Oct 2011 02:25:09 GMT</pubDate>
<guid>http://snipplr.com/view/60285/ifram-get-parent/</guid>
</item>
<item>
<title>(JavaScript) Get Query String Args  Javascript - brownrl</title>
<link>http://snipplr.com/view/59019/get-query-string-args--javascript/</link>
<description><![CDATA[ <p>This will get the arguments on the query string and put them into a handy array.</p> ]]></description>
<pubDate>Fri, 23 Sep 2011 17:33:12 GMT</pubDate>
<guid>http://snipplr.com/view/59019/get-query-string-args--javascript/</guid>
</item>
<item>
<title>(JavaScript) grab GET vars in Javascript - relish</title>
<link>http://snipplr.com/view/56834/grab-get-vars-in-javascript/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 19 Jul 2011 04:05:35 GMT</pubDate>
<guid>http://snipplr.com/view/56834/grab-get-vars-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Ajax GET Request - devnull69</title>
<link>http://snipplr.com/view/56005/ajax-get-request/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Jul 2011 22:08:16 GMT</pubDate>
<guid>http://snipplr.com/view/56005/ajax-get-request/</guid>
</item>
<item>
<title>(JavaScript) GET / POST parameter in Node.js - saturngod</title>
<link>http://snipplr.com/view/55820/get--post-parameter-in-nodejs/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 28 Jun 2011 15:37:59 GMT</pubDate>
<guid>http://snipplr.com/view/55820/get--post-parameter-in-nodejs/</guid>
</item>
<item>
<title>(JavaScript) Javascript function $_GET - CJness</title>
<link>http://snipplr.com/view/52917/javascript-function-get/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 May 2011 17:46:12 GMT</pubDate>
<guid>http://snipplr.com/view/52917/javascript-function-get/</guid>
</item>
<item>
<title>(JavaScript) Javascript get - pelisalinet</title>
<link>http://snipplr.com/view/44871/javascript-get/</link>
<description><![CDATA[ <p>Shows two variable on the URL.
You can change the varibles. text and text2.</p> ]]></description>
<pubDate>Fri, 26 Nov 2010 01:02:14 GMT</pubDate>
<guid>http://snipplr.com/view/44871/javascript-get/</guid>
</item>
<item>
<title>(JavaScript) get the GET variable of one URL into variable - tsunammis</title>
<link>http://snipplr.com/view/28812/get-the-get-variable-of-one-url-into-variable/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 23 Feb 2010 19:32:33 GMT</pubDate>
<guid>http://snipplr.com/view/28812/get-the-get-variable-of-one-url-into-variable/</guid>
</item>
<item>
<title>(JavaScript) getCharacterPressed - jlvallelonga</title>
<link>http://snipplr.com/view/13410/getcharacterpressed/</link>
<description><![CDATA[ <p>send in an event
it returns the key that you pressed if it was alphanumeric or backspace
otherwise it returns "-1"
use with getKeyCode and isAlphaNumeric</p> ]]></description>
<pubDate>Tue, 24 Mar 2009 15:03:04 GMT</pubDate>
<guid>http://snipplr.com/view/13410/getcharacterpressed/</guid>
</item>
<item>
<title>(JavaScript) getKeyCode - jlvallelonga</title>
<link>http://snipplr.com/view/13409/getkeycode/</link>
<description><![CDATA[ <p>send in the event to get the key code
useful with onKeyPress javascript event</p> ]]></description>
<pubDate>Tue, 24 Mar 2009 14:56:47 GMT</pubDate>
<guid>http://snipplr.com/view/13409/getkeycode/</guid>
</item>
<item>
<title>(JavaScript) pressedPrintableChar - jlvallelonga</title>
<link>http://snipplr.com/view/13408/pressedprintablechar/</link>
<description><![CDATA[ <p>to use this function send in an ASCII character code (use my getKeyCode function)
it will return true if the code corresponds to a printable character (not backspace code - 8, enter code - 13, or "undefined")</p> ]]></description>
<pubDate>Tue, 24 Mar 2009 14:49:02 GMT</pubDate>
<guid>http://snipplr.com/view/13408/pressedprintablechar/</guid>
</item>
<item>
<title>(JavaScript) Get URL Params with JavaScript - nerdfiles</title>
<link>http://snipplr.com/view/12871/get-url-params-with-javascript/</link>
<description><![CDATA[ <p>Not my code. See: http://www.netlobo.com/url_query_string_javascript.html</p> ]]></description>
<pubDate>Sat, 07 Mar 2009 05:56:57 GMT</pubDate>
<guid>http://snipplr.com/view/12871/get-url-params-with-javascript/</guid>
</item>
<item>
<title>(JavaScript) GET RADIO BUTTON VALUE USING JQUERY - omixen</title>
<link>http://snipplr.com/view/12797/get-radio-button-value-using-jquery/</link>
<description><![CDATA[ <p>Starting from jQuery 1.3</p> ]]></description>
<pubDate>Wed, 04 Mar 2009 12:35:40 GMT</pubDate>
<guid>http://snipplr.com/view/12797/get-radio-button-value-using-jquery/</guid>
</item>
<item>
<title>(JavaScript) get http object - jlvallelonga</title>
<link>http://snipplr.com/view/12298/get-http-object/</link>
<description><![CDATA[ <p>this funciton returns an XMLHttpRequest object for use in ajax pages</p> ]]></description>
<pubDate>Tue, 17 Feb 2009 12:19:21 GMT</pubDate>
<guid>http://snipplr.com/view/12298/get-http-object/</guid>
</item>
</channel>
</rss>