메뉴 건너뛰기

조회 수 228 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

# jQuery 소스
console.log("url1 : "+$(location).attr('href'));
console.log("protocol : "+$(location).attr('protocol'));
console.log("host : "+$(location).attr('host'));
console.log("pathname : "+$(location).attr('pathname'));
console.log("search : "+$(location).attr('search'));

# 출력결과
url1 : http://localhost:8080/msac/main.do?ddd=ddd
protocol : http:
host : localhost:8080
pathname : /msac/main.do
search : ?ddd=ddd


하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved