Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Using JavaScript with WebSpeed : Some JavaScript examples : A combo box with URL buttons

A combo box with URL buttons

This example shows you how to code a combo box to hold URLs. When the user clicks on the button, the browser goes to the Web site specified in the URL:
    onChange="(this[selectedIndex].value ?
               location=this[selectedIndex].value : null)">
    <OPTION SELECTED>Select Location
    <OPTION VALUE="">Progress
    <OPTION VALUE="">Tech Support
    <OPTION VALUE="">WebSpeed