A very simple snippet, which stores the current page URL in a variable:
[javascript]
// Retrieve current URL
var url = document.URL;
[/javascript]
A very simple snippet, which stores the current page URL in a variable:
[javascript]
// Retrieve current URL
var url = document.URL;
[/javascript]
0 comments:
Post a Comment