ip 조회하는 스크립트

<head>
<script language="javascript">
function check_ip(ipval){
    document.isp_form.action='http://whois.nic.or.kr/result.php';
    document.isp_form.method='post';
    document.isp_form.target='_blank';
    document.isp_form.domain_name.value = ipval;
    document.isp_form.submit();
    document.isp_form.action='';
    document.isp_form.method='';
    document.isp_form.target='';
}
</script>
</head>

<body>
<form name="isp_form"><input type=hidden name="domain_name" value=""></form>

<a href='javascript:void(0)' OnClick="check_ip('아이피주소')">아이피주소</a>
</body>

 

 

Post로 ip 값을 넘겨줘야함..

Get방식은 안먹음.

[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
|

댓글 1개

아이피를 조회 ;;
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 3,753
18년 전 조회 3,812
18년 전 조회 2,564
18년 전 조회 2,633
18년 전 조회 2,964
18년 전 조회 2,792
18년 전 조회 2,003
18년 전 조회 2,179
18년 전 조회 4,818
18년 전 조회 4,170
18년 전 조회 2,799
18년 전 조회 2,354
18년 전 조회 2,860
18년 전 조회 2,332
18년 전 조회 3,499
18년 전 조회 2,165
18년 전 조회 1,954
18년 전 조회 1,810
18년 전 조회 1,631
18년 전 조회 3,225
18년 전 조회 4,537
18년 전 조회 4,813
18년 전 조회 2,119
18년 전 조회 3,575
18년 전 조회 3,296
🐛 버그신고