Linking Radio Buttons to Objects

Linking Radio Buttons to Objects

I have a page with two drop-downs and two corresponding radio buttons. When I choose an item from one drop-down, I’d like the corresponding radio button to become checked. The drop-downs are actually ActiveX controls (ActiveCalendar 2.0) and have several events associated with them (onchange, onlostfocus, and so on). My entire audience is using Internet Explorer 4.0, which should make this a bit easier, and I prefer to use VBScript if at all possible.

Controlling option buttons is easy. You can use the ‘CHECKED’ property to control whether they are on or off. This code shows how to do this:

Option 1

Option 2

See also  How IoT Tech Will Transform Logistics

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist