/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var gup = function( name ) { var results = (new RegExp("[\\?&]"+name+"=([^&#]*)")).exec(window.location.href); if ( results == null ) {return ""} else {return results[1]} };