Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Object Modeling

Status
Not open for further replies.

vcherubini

Programmer
May 29, 2000
527
US
Hello:

I am wondering if there is a way to get the name of the current document using DOM or any other JavaScript method?

I am wondering this because I want to have a .js file where if the page name is one thing, then it prints out a certain piece of html, but if it is another name, then it prints out different html. Is there anyway to do this?

Any and all help is always appreciated.

Thanks.

-Vic

vic cherubini
malice365@hotmail.com
====

Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director

Wants to Know: Java, Cold Fusion, Tcl/TK

====
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top