Discussion in 'JavaScript' started by nabilabdoun, Jun 25, 2010.
Dear, How I can get an URL from the page that have their javascript code? Thank you Best Regards
Use: location.href;
User this code : var url = document.location.href or var url = document.location
Separate names with a comma.