|
@ -35,7 +35,7 @@ |
|
|
* http://www.netlobo.com/url_query_string_javascript.html |
|
|
* http://www.netlobo.com/url_query_string_javascript.html |
|
|
*/ |
|
|
*/ |
|
|
function gup( name ) { |
|
|
function gup( name ) { |
|
|
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); |
|
|
|
|
|
|
|
|
name = name.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"); |
|
|
var regexS = "[\\?&]"+name+"=([^&#]*)"; |
|
|
var regexS = "[\\?&]"+name+"=([^&#]*)"; |
|
|
var regex = new RegExp( regexS ); |
|
|
var regex = new RegExp( regexS ); |
|
|
var results = regex.exec( window.location.href ); |
|
|
var results = regex.exec( window.location.href ); |
|
|