Re: <select> element (html 4.0)

The choice of scripting language is up to you.  The DOM level 1
per W3C includes a "selected" boolean attribute on each OPTION in
the SELECT.  That is what you want to read to find out which of
them have this status.

Check your local browser's DOM implementation for conformance
with W3C level 1 DOM, but that it the general idea of what you
want to look for.

Al

Reference:

<http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html.html#ID-70901257>

to follow up on what Rich Caloggero said:

> I've been playing around with various form elements with msie4.1 and JFW 
> (screen reader). The <select> element it particularly troublesome. If the 
> multi attribute is set, it is impossible to tell which elements in the list 
> are selected and which are not. What distinguished them? There seems to be 
> a onchange (or something like that) attribute which lets you specify a 
> script to execute when the value of an option changes. What kind of script 
> -- jscript/javascript? How can this cummunicate its results to the screen 
> reader? If anyone has ie4.1 and can at least tell me how these selection 
> lists are rendered and how things change when something is either selected 
> or deselected, I can probably write some kind of screen-reader script to 
> identify these changes. Thanx for any info...
> 
> 					Rich
> 
> 

Received on Tuesday, 24 November 1998 20:42:07 UTC