Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged query



« Prev 1 Next »
Get Parameter from url query string
0 1711 posted 12 years ago by goo
This will get the arguments on the query string and put them into a handy array.
0 1458 posted 14 years ago by brownrl
Pass variables into javascript files using query strings, and return them using getJSvars() Example //HTML <script> //return the value of "foo" getJSvars('filename.js', 'foo');
0 1356 posted 14 years ago by DenoteIt
0 1879 posted 14 years ago by kashif21
First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the c...
0 1787 posted 14 years ago by rumremix
This will only work in FF 3.5 and web-kit browsers. (post 06/20/2009)
0 1090 posted 16 years ago by adamdecaf
Split and manipulate URLs easily with this module. It has similar interface to Python's urlparse library. This is patched and modified version from Denis's orignal implementation.
1 1550 posted 16 years ago by miohtama
Para marcar navegaciones según la página.
2 1460 posted 18 years ago by nicolaspar
1 1165 posted 18 years ago by nicolaspar
This function extracts a value from a url. Very useful for tracking codes. For example, you have a url http://your.url/?source=666999, and you need the source number to be placed into a variable. Use the code below.
2 1419 posted 18 years ago by 1man
in javascript use, for example: myJsonObject[&quot;js007&quot;].firstname + ' ' + myJsonObject[&quot;js007&quot;].lastnamename to return James Bond
1 1314 posted 18 years ago by markireland
« Prev 1 Next »