property:hostname;return type:stringcontent:ใช้คืนค่า host ( domain name ) example:var tagArea = document.getElementById ( "bamboo" ); alert ( tagArea.hostname );