Hi
I can't figure this out - I have a routine that is triggered after a text
field is changed and if an error it displays an alert message and should put
focus back to the field in error but focus or select won't seem to work -
the cursor just stays in the next field.
Im using IE6.0
The code is like
<script>
CheckNumeric(nu m){
// Some error checking code
if (error)
{num.focus();
num.select();}}
</script>
// some more html...
<input name="t1" type="text" size="5"
onchange='javas cript:CheckNume ric(this)'>
/// and so forth...
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
I can't figure this out - I have a routine that is triggered after a text
field is changed and if an error it displays an alert message and should put
focus back to the field in error but focus or select won't seem to work -
the cursor just stays in the next field.
Im using IE6.0
The code is like
<script>
CheckNumeric(nu m){
// Some error checking code
if (error)
{num.focus();
num.select();}}
</script>
// some more html...
<input name="t1" type="text" size="5"
onchange='javas cript:CheckNume ric(this)'>
/// and so forth...
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Comment