Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 인젝션
- SPLIT
- jdbc driver
- 정규식
- update
- MSSQL보안
- array
- sql업데이트
- sql랭킹
- VARIABLE
- tempDB
- 이미지가로길이
- sql순위
- asp함수
- VarType
- FileSystemObject
- 자바기초
- inner join
- WML
- javascript 한글입력체크
- instr
- 이미지세로길이
- 한글입력체크
- xmldom
- ERD
- JavaScript
- XML
- injection
- wap
- join
Archives
- Today
- Total
3초기억력
jquery 에서 url 알아내는 법 본문
제목 : jquery 에서 url 알아내는 법
소스 :
jquery 에서 url 알아내는 법
var t1 = $(location).attr('host');
var t2 = $(location).attr('hostname');
var t3 = $(location).attr('href');
var t4 = $(location).attr('port');
var t5 = $(location).attr('protocol');
내용 :
t1=www.test.com:8080
t2=www.test.com
t3=http://www.test.com:8080/test/test/test_1.asp
t4=8080
t5=http:
예제 소스 파일 :
출처 :
'코딩_jquery' 카테고리의 다른 글
bootstrap 반응형, 레이어 팝업(PC, MOBILE) 제어 script (0) | 2019.03.07 |
---|---|
jquery select box reset. 다른 select 를 모두 초기화하는 방법 (0) | 2017.12.21 |
jquery datepicker 여러개, 다중, multi 사용법 (0) | 2017.11.24 |
jquery radio checked none; script (0) | 2017.11.14 |
inspinia Admin Theme 사용시 왼쪽 메뉴 활성화 script (0) | 2017.11.09 |
Comments