WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Question regarding the ComboBox Demo on this site, Ross, January 16, 2005
     Re:Question regarding the ComboBox Demo on this site, Vince, April 19, 2005

Subject: Re:Question regarding the ComboBox Demo on this site From: Vince Date: April 19, 2005

Hi,

You can replace the new ComboBoxItem("barge",1) with new ComboBoxItem("barge","barge");


 

From: Ross
Sent: January 17, 2005
Subject: Re:Question regarding the ComboBox Demo on this site

Hi There,

I really like the way your Combobox works and looks like.

http://webfx.eae.net/dhtml/combobox/combo_demo.htm

However I have a very hard time to read and understand your code. I wish there were some lines of comments.

1) My main problem is that the show value button is just alerting the value I have selected. But what if I like to alert the actual text of the selection how do I do that?

2) Is it possible to send the combobox an array and let it build the options for the selection instead of typing each of them manualy like that?

dm=new ComboBox("dm")
dm.add(
new ComboBoxItem("barge",1),
new ComboBoxItem("benluc",2),
new ComboBoxItem("benlieeeeck",3),
new ComboBoxItem("taco",4)
)

Thank you so much,
Ross





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