PDA

View Full Version : Newbie - Combo box viewer



gfin19
01-10-2005, 05:33 PM
I know this probably is a real newbie question but how can you add a button to the combo box viewer script. I have tried to add it to the form with now success. Can someone help?

:confused:

ddadmin
01-11-2005, 01:47 AM
.

http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm

By button, do you mean one that when clicked on changes the combo viewer's content, instead of the current set up, which changes automatically when the selection list is changed?

gfin19
01-11-2005, 10:02 AM
Sorry for the mistake, yes and no. I really like the combo viewer as the box looks a whole lot better than any other combo and description senario I've seen before.

I'd like to be able to click on a button to take me to another page depending on what I select in this particular combo and read the description.

Is it possible?

Graham

gfin19
01-11-2005, 12:37 PM
All sorted,

I added the gothere() function to the javascript and in the onclick event of the button and it works for both external and internal pages.

The feeling of self improvement is grrrrrrreeeeeeeaaaatt! :rolleyes: