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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting current host server

Status
Not open for further replies.

Haazi2

Programmer
Aug 25, 2000
51
US
Is there a way to get the current host server that a JavaScript program originates from?
 
window.location.host will give you the domain or IP, is that what you're looking for?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top