Tuesday, 12 April 2011

Get the current page url using javascript

The following code line is used to get the current page url:
var currentPage=parent.document.URL.toString();

No comments:

Post a Comment