Forum Moderators: open
disabled , hidden, or invisible fields can't...Is there an easy way to check?
if (document.formname.element.disabled == true)
you can change the values of hidden or invisible elements in the script but I don't quite understand why you would need to test for that.
try { document.getElementById('hidden-field').focus() } catch(e) { alert("can't focus because of\n\n" + e) }