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 |
Tags
- wap
- JavaScript
- 자바기초
- ERD
- WML
- asp함수
- sql순위
- VARIABLE
- sql업데이트
- 인젝션
- MSSQL보안
- xmldom
- tempDB
- 이미지세로길이
- XML
- injection
- array
- inner join
- update
- jdbc driver
- 한글입력체크
- 이미지가로길이
- join
- FileSystemObject
- VarType
- 정규식
- instr
- javascript 한글입력체크
- SPLIT
- sql랭킹
Archives
- Today
- Total
3초기억력
jquery 에서 url 알아내는 법 본문
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
제목 : 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