The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Setting value in combobox with option groups
JonWayn1970
post Apr 6 2021, 04:36 AM
Post #1





Group: Members
Posts: 2
Joined: 6-April 21
Member No.: 27,882



I am trying to automate a website. I need to select an item in a select element that has optgroup tags in it. Usually i would encounter select elements without optgroup and i would set the selectedItem property to a number corresponding to the value i want. In this case however, there are option groups. How is it done. Thank you
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 11:07 AM