问个问题,我是菜鸟
function ckemail(obj){if(email[0]!=obj.value){
if(emailcheck(obj.value)){
changetips('email',1,'tips-loading');
email=Array(obj.value,1,'tips-loading');
regpost.location.href="Asp/Regadd.asp?act=em&email="+encodeURI(obj.value);
}else{
changetips('email',3,'tips-error');
email=Array(obj.value,3,'tips-error');
}
}else{
if(obj.value==""){
changetips('email',0,'tips-error');
}else{
changetips('email',email[1],email[2]);
}
}
}
function regcheck(obj){
if(!obj.agreement.checked){
changetips('agreement',5,'tips-error');
return false;
}
我在下面这个函数里怎么调用上面ckemail(obj)这个函数啊?