<script src="<?=$g4[path]?>/js/jquery.js"></script>
<script src="<?=$g4[path]?>/js/md5.js"></script>
<form id='fjoin' action='join_form.php' method='post'>
<img id='kcaptcha_image' border='0' width=120 height=60 style="cursor:pointer;" title="글자가 잘안보이는 경우 클릭하시면 새로운 글자가 나옵니다.">
<input class='ed' type='input' size='10' id='wr_key' name='wr_key' itemname="자동등록방지"> 왼쪽의 글자를 입력하세요.
<input type=submit>
</form>
<script type="text/javascript"> var md5_norobot_key = ''; </script>
<script type="text/javascript">
$(document).ready(function() {
$('#kcaptcha_image').click(function() {
$.post('<?=$g4[bbs_path]?>/kcaptcha_session.php', function(data) {
$('#kcaptcha_image').attr('src', '<?=$g4[bbs_path]?>/kcaptcha_image.php?t=' + (new Date).getTime());
md5_norobot_key = data;
});
});
$('#kcaptcha_image').click();
$('#fjoin').submit(function() {
if ($('#wr_key') != 'undefined') {
if (hex_md5($('#wr_key').val()) != md5_norobot_key) {
alert('자동등록방지용 글자가 제대로 입력되지 않았습니다.');
$('#wr_key').select().focus();
return false;
}
}
return true;
});
});
</script>
댓글 2개
풍선도움말 예제도 하나... 굽신굽신...
게시판 목록
팁게시판
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6002 | 9년 전 | 213 | ||
| 6001 | 9년 전 | 184 | ||
| 6000 | 9년 전 | 236 | ||
| 5999 | 9년 전 | 172 | ||
| 5998 | 9년 전 | 220 | ||
| 5997 | 9년 전 | 243 | ||
| 5996 | 9년 전 | 202 | ||
| 5995 | 9년 전 | 251 | ||
| 5994 | 9년 전 | 207 | ||
| 5993 | 9년 전 | 269 | ||
| 5992 | 9년 전 | 346 | ||
| 5991 | 9년 전 | 366 | ||
| 5990 | 9년 전 | 301 | ||
| 5989 | 9년 전 | 294 | ||
| 5988 | 9년 전 | 312 | ||
| 5987 | 9년 전 | 249 | ||
| 5986 | 9년 전 | 283 | ||
| 5985 | 9년 전 | 252 | ||
| 5984 | 9년 전 | 215 | ||
| 5983 | 9년 전 | 206 | ||
| 5982 | 9년 전 | 253 | ||
| 5981 | 9년 전 | 309 | ||
| 5980 | 9년 전 | 269 | ||
| 5979 | 9년 전 | 272 | ||
| 5978 | 9년 전 | 257 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기