daniel's
Sunday, June 15, 2008
How to get host name in JavaScript?
To get host name in JavaScript -
HTTP_HOST
var
hostname =
window.location.hostname
2 comments:
Anonymous said...
this doesnot work....!!!! :-(
November 18, 2011 at 1:43 AM
Bea
said...
for me it worked!
December 7, 2011 at 11:19 PM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
2 comments:
this doesnot work....!!!! :-(
for me it worked!
Post a Comment