Now you're just cross-posting, which is a no-no here! I meant that your original post should have been made here, not to repeat it here. And I've already told you how to fix it. Oh well, never mind - here, this works (in IE):
function DateInputUpdate(input) {
if (event.keyCode == 8) {
if (input.value.length == 3 || input.value.length == 6) {
input.value = input.value.substring(0,input.value.length-1);
}
} else {
if ( input.value.length == 2 || input.value.length == 5 )
input.value = input.value + '/';
if (input.value.length > 10) {
input.value = input.value.substring(0, 10);
}
}
}