...

View Full Version : Display current page name



scotthawks
01-11-2007, 05:27 PM
I would like to know how to display the current page in javascript

say if i was on page 123.htm, how can i display that in an alert for example.

Thanks in advance for help

david_kw
01-11-2007, 05:44 PM
Try

alert(window.location.href);

david_kw



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum