The first post, just learning HTML:
I am rejecting a VBS script and " IE "I have created a multi" selection "dropdown box and I can read the previously selected option but I do not know how to read selected items and they are not always sequential, such as the selected items 3, 6, and 9th option. Below is the selection box setup and below are commands to read this index and the first option to get the value.
"form action = 'form_action.asp' & gt; & Amp; _ "From Volvo12345 & lt; / option & gt; & Amp; _ "From Saab & amp; _ "From & lt; option value = 'opal' & gt; opal & lt; / option & gt;" & amp; _ "From Audi & amp; _ "From Ford & amp; _ "From Chevy & amp; _ "From & lt; option value = 'old' & gt; olds & lt; / option & gt;" & amp; _ "& Lt; option value = 'petiac' & gt; Pontiac & lt; / option & gt;" & amp; _ "& Lt; / select & gt;" & amp; _ "& Lt; button name = SELECT AccessKey = O" & amp; _ "Onclick = document.all (" "buttonhandler" "). Value =" "SELECT" ";" & Amp; _ "& Gt; SELECT & lt; / button & gt; & lt; / b & gt;" & Amp; _ "& Lt; / form & gt;" & Amp; _ ================================ CHECK Episode g_objIE.Document.All ("ButtonHandler"). Price Case "Select" g_objIE.Document.All ("ButtonHandler"). Value = "" call read_sel ====================== function read_sel () index = g_objIE.document.getElementById ("car"). Selected index value = g_objIE.document.getElementById ("car"). Value msgbox "value =" & amp; Price & amp; "Index =" & amp; Index and Function Any help would be appreciated. Thanks
Note: Just got to the post that talks about connecting brackets after "name =" cars [] "[]". It will be contiune to use. My problem solved.
"itemprop =" text "> use a loop like this:
g_objIE.document If you select the option for each opt-in ("car") option in .getElementById then the MSBbox opt text next
No comments:
Post a Comment