mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-05 03:33:23 +01:00
8 lines
222 B
JavaScript
8 lines
222 B
JavaScript
|
|
||
|
// http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
|
||
|
function getURLParameter(name) {
|
||
|
return decodeURI(
|
||
|
(new RegExp('[&?]'+name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
|
||
|
);
|
||
|
}
|