日期:2014-05-16 浏览次数:20456 次
<td><input type="text" name="fname" onblur="canUse()"/></td>
function canUse()
{
alert("jkldfsjkslfd");
var user document.customForm.fname.value;
alert("hellooo");
var flag = isRegisterUserOrPass(user);
if(flag){
// document.getElementsById("fname_msg").style.color = "red";
document.customForm.fname.focus();
return ;
}
}