If you are only trying the get the hostname of the current page, use document.location.hostname . This worked for me. http://tech-blog.maddyzone.com/javascript/ ...
確定! 回上一頁