[thelist] JS: focus() and NS7.1

Tom Dell'Aringa pixelmech at yahoo.com
Fri Jun 25 09:17:34 CDT 2004

Hi folks

Is anyone aware of any outstanding issues using focus() in forms in Netscape 7? A colleague here
has a script that, when there is an error throws a popup and then goes back and focuses the field.
It works fine in everything except NS7. I didn't find any notes in Danny G's JS Bible and the
script doesn't throw any errors or even warnings, but just continues on to the next form element.

Here's a sniplet of the function:

function fn_chk_format(field,field_desc,field_type){
  alert('The ' + field_desc + ' has an invalid date...');

Any ideas?



http://www.Pixelmech.com/ - read my latest blog posting!

John 3:16

More information about the thelist mailing list