Home > Back-end >  WebBrowser Seclect operating problems, looking for a few days but could not find a solution, since t
WebBrowser Seclect operating problems, looking for a few days but could not find a solution, since t

Time:10-10

Web site source code is as follows:
Hebei & lt;/option>



I operation code is as follows:
 
Var
I: integer;
LoginOlev: oleVariant;
The begin
LoginOlev:=ComFarme WebBrowser1. Document;
For I:=0 to LoginOlev. All. Do length - 1
The begin
If LoginOlev. All. The item (I). The TagName='SELECT' then
The begin
DebugMemo. Lines. The Add (IntToStr (I) + 'testing framework successfully SELECT');
LoginOlev. All. The item (I) : SelectedIndex=20;
end;
end;
end;



So after operation, all SELECT change, how to do to make him change only this one? To solve, I very vegetables, hope that the elder brothers don't abandon studious rookie

CodePudding user response:

If in the final add Break not line?

CodePudding user response:

reference 1st floor s11ss response:
if finally add in Break not line?

.

CodePudding user response:

reference 1st floor s11ss response:
if finally add in Break not line? nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related