$("#regBtn").click(function(){
var ckd = 0;
$("input[type=text], select").each(function(){
if ($(this).attr("msg") && !$(this).val()) {
alert($(this).attr("msg"));
$(this).focus();
ckd = 1;
return false;
}
})
if (ckd == 0) {
$("input[type=checkbox]").each(function(){
if (!$(this+":checked").val() && $(this).attr("msg") && !$("input[name='"+$(this).attr("andbox")+"']:checked").val()) {
alert($(this).attr("msg"));
$(this).focus();
ckd = 1;
return false;
}
})
}
if (ckd == 1) {return false;}else{$("#frm").submit();}
})
이 블로그 검색
2016년 9월 26일 월요일
2015년 2월 22일 일요일
2014년 7월 24일 목요일
2014년 7월 23일 수요일
[wordpress] contact-form-7 플러스인 익스 발송 되지 않을때
/wp-content/plugins/contact-form-7/wp-contact-form-7.php
49 Line 근방 어딘가,
if ( ! defined( 'WPCF7_LOAD_JS' ) )
define( 'WPCF7_LOAD_JS', true );
=>
if ( ! defined( 'WPCF7_LOAD_JS' ) )
define( 'WPCF7_LOAD_JS', false );
끝
49 Line 근방 어딘가,
if ( ! defined( 'WPCF7_LOAD_JS' ) )
define( 'WPCF7_LOAD_JS', true );
=>
if ( ! defined( 'WPCF7_LOAD_JS' ) )
define( 'WPCF7_LOAD_JS', false );
끝
2014년 7월 22일 화요일
[php] n개이상의 배열 합치기 , 붙이기
$arr_a=array('1');
$arr_b=array('2');
$arr=array_merge($arr_a,$arr_b);
결과 는,
$arr=array('1','2');
끝
피드 구독하기:
글 (Atom)