Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
Views 11385 Comment 0
URL 인코딩~
<html> <body> <script type="text/javascript"> var s; s = encodeURI('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http://google.com/%EC%86%8C%20%EC%84%A4.html s = encodeURIComponent('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http%3A%2F%2Fgoogle.com%2F%EC%86%8C%20%EC%84%A4.html s = escape('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http%3A//google.com/%uC18C%20%uC124.html </script> </body> </html>
-
[js] 자바스크립트 메뉴얼 사이트.. ㅋㅋ
-
[js] 자바스크립트 escape()를 PHP로 받기
-
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
-
[js] 이벤트 핸들러(Event Handlers)
-
[js] 이벤트 전파 3단계
-
[js] 이미지 사이즈를 동적으로 조절..
-
[js] 이미지 미리 로딩하기
-
[js] 윤동이가 만든 영어 학습(?) 프로그램
-
[js] 윈도우 시작버튼처럼 나오는 메뉴
-
[js] 웹페이지에서 특정 엘리먼트 드래그, 복사, 컨텍스트메뉴, 키보드 막기
-
[js] 여러가지 트리(tree) 모음.. ㅋㅋ
-
[js] 양원님이 공유해 주신 유료(5$란다ㅋ) 자료 ㅋㅋ