Hi, im a little stuck and need to figure out to get the following working in IE & Firefox..
Can anyone advise?
Many thanks,
Brian
Code:
<script language="javascript" type="text/javascript">
function checkVINValue()
{
if (document.coresearch.VIN.value == "" || !document.coresearch.VIN.value.match(/^[0-9a-z]+$/i))
{
document.coresearch.SubmitButton.disabled=true;
//alert('Please enter a valid UK / Irish Numberplate.');
} else {
document.coresearch.SubmitButton.disabled=false;
}
}
</script>
Can anyone advise?
Many thanks,
Brian