SearchRecent postsThe Random ToolboxDrupal 7 Setting up variables for use in a template (preprocess and process functions) Rendering Drupal 7 fields (the right way) Linux Secure Copy (scp) command Restrict Free Shipping in Magento Quickbooks Text Connection Ticket Cross-Site Request Forgery (CSRF) jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave Monthly archive
|
Get URL arguments using Javascript - $_GET Variablesif (location.search != "") { var x = location.search.substr(1).split(";") for (var i=0; i<x.length; i++) { var y = x[i].split("="); alert("Key '" + y[0] + "' has the content '" + y[1]+"'") } } |