WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Select Box, Balázs Horváth, October 20, 2004

Subject: Select Box From: Balázs Horváth Date: October 20, 2004

Hi!

I have a problem with the IE specific Select box, what this website contains.

The create method is the next:
writeSelectBox(optionArray, "select1", 1, "getSelectedValue(this.options[this.selectedIndex].value)", "");
...
function getSelectedValue(value)  {
  document.all["database"].value=value;
}

When webpage is loaded, in the onload method has to set the "database" hidden varaible.

function onload()  {
  document.all["database"].value=document.all["select1"].options[document.all["select1"].selectedIndex].value;
}

...

<body onload="onload">
...
</body>

The onload() method doesn't operate. Does anybody know, what solution will success?

Thx...




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX