상세 컨텐츠

본문 제목

javascript URL 정보

Program

by 마니씨 2013. 2. 25. 17:14

본문

http://manic.tistory.com:8080/test.aspx?a=b

 

 window.location.hostname  manic.tistory.com
 window.location.href  http://manic.tistory.com:8080/test.aspx
 window.location.host  manic.tistory.com:8080
 window.location.port  8080
 window.location.pathname  test.aspx
 window.location.search  ?a=b
 window.location.protocol

 http:

 

'Program' 카테고리의 다른 글

유닉스/자바 위치 확인  (0) 2013.01.29

관련글 더보기