I'm noob to JavaScript and want to use Prototype JS Framework to get some URL parameters. Imagine I have the following URL on my current browser:
http://www.somewhere.com?param=abc
how can I get the value of 'param'
using any function or utility of Prototype JS ?
You really don't need Prototype for this:
Expanding on Scott's answer: to put the value of the URL variable 'param' into the javascript variable 'x' you would use Prototype like so:
Prototype.js DOES provide a utility: