Try something like
document.MyForm.txtInput.onfocus="blur()";
I can't quite remember the syntax, wether you need quotes, brackets etc
-----Original Message-----
From: Peter Howells [mailto:PeterHowells@H...]
Sent: 08 June 2001 17:32
To: javascript
Subject: [javascript] An alternative to disabled=true
This only works in Explorer :-
document.MyForm.txtInput.disabled=true;
Does anyone know how to disable an input field using Netscape 4+ ?
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com