hy,

I used de dynapi on my page to have a scrolling window for text.

I have the following in the HTML

<DIV name="srollwin">
        <DIV name="scrolltext">
                <FORM name="selector">
                        <SELECT name="prov">
                        </SELECT>
                </FORM>
        </DIV>
</DIV>
        
The content of the SELECT must change. I do this by calling the following 
JSCRIPT Function:

function changeprov(ID)
{
 document.selector.prov.options.length=0;
 for (var x=0; x < provs.length ; x++)
 {
  if ( ID == provs[x][2] )
  {
    document.selector.prov.options[document.selector.prov.options.length] = 
new Option(provs[x][0],provs[x][1]);
  }
 }
document.selector.prov.selectedIndex=0;
}

This works fine under IE but NS refuses to change the SELECT contents. I 
guess that NS needs another reference to the SELECT OBJECT prov. But I just 
can't find how I have to call the objects properties under NS. Can someone 
help me out here ????


Jurre

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to