T
tlyczko
I have this code in a form input box contained in the 4th column cell
of a 4-column table:
onblur = "if (testExp(this.value, 'message') == false) {window.focus();
this.focus();}"
testExp checks the input box form value, but every time it is false
(wrong kind of value), the focus goes to the form input box in the 1st
column of the *next* table row.
The "wrong" kind of value gets placed into the input box, then the
cursor goes to the first column in the next table row.
How do I prevent this?? Happens with either IE or FF, it only needs to
work properly in IE though.
Thank you,
Tom
of a 4-column table:
onblur = "if (testExp(this.value, 'message') == false) {window.focus();
this.focus();}"
testExp checks the input box form value, but every time it is false
(wrong kind of value), the focus goes to the form input box in the 1st
column of the *next* table row.
The "wrong" kind of value gets placed into the input box, then the
cursor goes to the first column in the next table row.
How do I prevent this?? Happens with either IE or FF, it only needs to
work properly in IE though.
Thank you,
Tom