var
Doc:IHTMLDocument2;
UserInputeLement,PwdInputeLement:IHTMLInputElement;begin doc:=webbrowser1.document as ihtmldocument2; UserInputeLement :=(doc.all.item('username',0) as IHTMLInputElement); UserInputeLement.value :=User;//用户名 PwdInputeLement :=(doc.all.item('password',0) as ihtmlinputelement);...