Originally posted by ScottieI'm working hard, see I just wrote this...
🥷 slacker
[code]
<script language="JavaScript" type="text/javascript">
function testCode(codeNum) {
if (codeNum == 3) {
document.contactForm.phone.focus();
//alert(codeNum);
}
}
function addDash(theValue) {
if (theValue == 3) {
var theirNum = document.contactForm.phone.value
document.contactForm.phone.value = theirNum + '-';
} else if (theValue < 8) {
return true;
} else {
document.contactForm.phoneExt.focus();
}
}
</script>
[/code]
Originally posted by ThePittmanscared thats the devil code, DONT PRESS ENTER!! FOR THE LOVE OF THE POOR STARVING BABIES DONT PRESS ENTER!!!!!
I'm working hard, see I just wrote this...[code]
<script language="JavaScript" type="text/javascript">
function testCode(codeNum) {
if (codeNum == 3) {
document.contactForm.phone.focus();
//alert(codeNum);
}
}
function addDash(theValue) {
if (theValue == 3) {
var theirNum = document.contactForm.phone.value
document.contactForm.phone.value = theirNum + '-';
} else if (theValue < 8) {
return true;
} else {
document.contactForm.phoneExt.focus();
}
}
</script>
[/code]