o yeah. You showed me this
Code:
function isZipCode(value) {
var RegExp = /^\d{5}([\-]\d{4})?$/;
return (RegExp.test(value));
}
Now if i want to use that onblur how would i go about doing this?
if(RegExp.test(value) != true)
{
alert("You input an invalid zip code");
}
?? 
|