Being a web person I was so use to getting parameters from the URL in Java via the request.getParameter() method. I have found it really cool to use the same functionality in JavaScript and PHP.
Here is a JavaScript function:
function getParameter(name){
var out = “”;
var href = window.location.href;
if ( href.indexOf(”?”) > -1 ) {
var qs = [...]

continue reading.....