On Wed, 29 Oct 2003, Jerry Jalenak wrote: > Melissa / James - > > Thanks for the replies. It does have something to do with setting the > 'disabled' attribute to 'true'. Unfortunately, per W3C spec, the <select/> > tag doesn't support a 'readonly' attribute, only a 'disabled' attribute. Do > I need to disable the options? or is there a better way to not allow a user > to select a different option? > >
You could set all the options but the one you want selected to disabled. I think how it will work in Mozilla is the select menu will still be a drop down, but all the disabled options will be grayed out and not selectable. I don't think IE will support this though. Of course, since you'd be validating on the server side, users who could still select something else would get a nice message telling them that valueB can only be foo when valueA is bar, yes? ------------------------------ Melissa L Kelley [EMAIL PROTECTED] www.stuology.net ------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]