
x-browser way to disable form elements?
I'm working on a form application where the availability of some form
elements is conditional on the state of other checkboxes or radio buttons.
In IE I can just set the "disabled" state, but of course, Netscape doesn't
support that.
Does anyone have any pointers to a cross-browser method of conditionally
enabling form elements? One of my first thoughts was to try modifying the
form property on the elements. But that property is read-only. My current
line of thinking is to put the elements into a div, and dynamically
destroy/recreate the div as needed.
Does anyone know of a pre-existing Javascript library for form element
manipulation of this nature?
--
Ernest MacDougal Campbell III, MCP
Webmaster, AAA Cooper Transportation