Wednesday, November 16, 2011

Get The Current Page URL

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