Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
조회 수 11388 댓글 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] 이미지 미리 로딩하기
-
[js] 이미지 사이즈를 동적으로 조절..
-
[js] 이벤트 전파 3단계
-
[js] 이벤트 핸들러(Event Handlers)
-
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
-
[js] 자바스크립트 escape()를 PHP로 받기
-
[js] 자바스크립트 메뉴얼 사이트.. ㅋㅋ
-
[js] 자바스크립트 이벤트 핸들..
-
[js] 자바스크립트(Javascript) 코드를 동적으로 삽입하는 방법..
-
[js] 자바스크립트로 만든 게임
-
[js] 자바스크립트로 응용프로그램 실행 ㅎㅎ