스

로컬에서 사용하는 자바스크립 HTML소스가져오기

삽질중 우연히 아래 소스를 발견해서 올립니다.
참고하세요.
<html>
<head>
<title>::: 노글스 :::</title>
</head>
<body>
<input type=button onClick=chk() value="chk">
결과

<script>
var sHttp = new ActiveXObject("Microsoft.xmlhttp");

function httpGet(szURL) {
sHttp.open("get",szURL,false);
sHttp.setRequestHeader( "Content-type:", "application/x-www-form-urlencoded");
sHttp.setRequestHeader("Content-Encoding:", "euc-kr");


sHttp.onreadystatechange = onRetriveComplete;
try{
sHttp.send("code=tnt2");
}
catch(e) {
return ("Not exist");
}

if (sHttp.status > 200) {
return("not exist<br>");
} else


return(sHttp.responseText);

}

function onRetriveComplete() {
sHttp.onreadystatechange = noop; //re-entrant gate
if (sHttp.readyState == 4) {
}
}

function noop() {
return false;
}

function chk() {

getData=httpGet("http://www.phpschool.com/bbs2/inc_board.html");

document.noglsForm.test.value=getData;

}
</script>

<form name=noglsForm>
<textarea name=test rows=200 cols=200></textarea>
</form>
</body>
</html>



//////////php스쿨발췌~~<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>

댓글 4개

- ㅝ~~~~~!

감사 합니다~! (__)끄빡
감사합니다~
감사합니다~
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
06-02-02 조회 5,528
06-01-27 조회 3,792
06-01-27 조회 3,574
06-01-26 조회 4,024
06-01-20 조회 4,157
06-01-19 조회 4,205
06-01-15 조회 3,734
06-01-13 조회 4,107
06-01-10 조회 3,695
06-01-10 조회 3,263
06-01-09 조회 3,885
06-01-05 조회 3,553
06-01-05 조회 3,636
06-01-05 조회 4,914
06-01-04 조회 4,376
06-01-04 조회 6,125
05-12-30 조회 3,478
05-12-30 조회 5,626
05-12-30 조회 4,250
05-12-29 조회 4,014
05-12-27 조회 4,856
05-12-23 조회 3,765
05-12-21 조회 4,952
05-12-21 조회 5,190
05-12-16 조회 4,621
05-12-09 조회 4,646
05-12-05 조회 5,253
05-12-01 조회 3,491
05-11-30 조회 6,235
05-11-30 조회 4,786
05-11-29 조회 3,706
05-11-26 조회 3,377
05-11-10 조회 3,823
05-11-09 조회 4,140
05-11-09 조회 3,923
bbbking
05-11-05 조회 6,896
05-10-23 조회 3,806
bbbking
05-10-22 조회 5,427
05-10-20 조회 3,267
05-10-13 조회 8,442
05-10-09 조회 3,542
05-09-29 조회 4,587
05-09-28 조회 5,417
05-09-27 조회 3,682
05-09-27 조회 4,962
05-09-24 조회 4,188
05-09-23 조회 5,200
05-09-22 조회 6,193
05-09-22 조회 5,283
05-09-21 조회 6,945
05-09-15 조회 3,153
05-09-11 조회 4,348
05-09-08 조회 4,601
05-09-08 조회 4,001
05-09-08 조회 3,486
05-09-05 조회 5,705
05-09-04 조회 3,294
05-09-02 조회 3,266
05-09-02 조회 2,917
05-09-02 조회 2,707
05-09-01 조회 4,783
05-09-01 조회 5,915
05-08-31 조회 3,525
05-08-31 조회 4,201
05-08-25 조회 6,892
05-08-25 조회 3,913
05-08-21 조회 3,361
05-08-19 조회 5,623
05-08-18 조회 3,722
05-08-18 조회 3,314
05-08-17 조회 3,820
05-08-16 조회 3,685
05-08-14 조회 3,950
05-08-14 조회 4,423
05-08-08 조회 3,720
05-08-07 조회 5,796
05-08-05 조회 4,280
05-08-04 조회 5,617
05-08-01 조회 4,066
05-07-29 조회 5,183
05-07-29 조회 5,414
05-07-28 조회 8,090
05-07-27 조회 4,877
05-07-25 조회 3,793
05-07-24 조회 5,435
05-07-24 조회 3,254
05-07-22 조회 5,316
05-07-21 조회 4,784
05-07-21 조회 3,612
05-07-19 조회 5,884
bbbking
05-07-19 조회 3,535
05-07-16 조회 5,558
05-07-15 조회 4,640
05-07-14 조회 4,698
05-07-13 조회 4,861
05-07-12 조회 4,247
05-07-12 조회 6,979
05-07-11 조회 3,995
05-07-08 조회 6,861
bbbking
05-07-08 조회 3,369