Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 인공지능
- centos
- SSH
- java
- Deep
- db
- mysql
- framework
- LIST
- 자바
- javascript
- git
- interface
- Analysis
- mariaDB
- Linux
- learning
- data
- Spring
- Security
- Github
- 함수
- error
- Python
- Pattern
- Numpy
- DeepLearning
- ai
- Server
- Web
Archives
- Today
- Total
PostIT
[Javascript/Request] Get URI, Protocol, Host in Javacsript(자바스크립트) 본문
Script/JavaScript
[Javascript/Request] Get URI, Protocol, Host in Javacsript(자바스크립트)
shun10114 2017. 3. 8. 09:48# URI, Protocol, HOST Javascript에서 값 가져오기.
- window.location.protocol
Return) http: - window.location.host
Return) localhost:8080 - window.location.pathname
Return) /projectName/currentPath
'Script > JavaScript' 카테고리의 다른 글
[HTML/JavaScript] Html의 이벤트 종류들 (0) | 2017.07.11 |
---|---|
[Javascript/File] Html5에서 File Upload 전에 파일 정보 체크하기 (0) | 2017.03.29 |
[Javascript/Ajax] JavaScript에서의 변수 담아내기 - async(동기 Ajax) (0) | 2017.03.06 |
[Javascript/Object] 자바스크립트에서의 상속 - Object.create()에 설명 (0) | 2017.02.14 |
[Javascript] event.keyCode 코드값 - 퍼옴 (0) | 2017.02.09 |
Comments