掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
フォームに値を入力送信【パート2】 (ID:37512)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
フォームに値を入力しサブミットしたいです。 ※【パート2】としたのは以前この掲示板で説明されていたgoogleの方法では解決できなかったのでです。 ボタンタイプなどで方法が変化するようです、いくつかパターンを試してみましたが送信できませんでした、アドバイス宜しくお願いします。 【ソース】 <input name="mail" type="text" id="mail" style="ime-mode: disabled; width:180px;" value="" size="25" maxlength="255"> <input name="passwd" type="password" id="passwd" style="ime-mode: disabled; width:180px;" value="" size="25" maxlength="16"> <input name="action_media_login_chk" type="submit" id="action_media_login_chk" value=" メディアログイン "> 【ソース】 HTMLDoc2 := WebBrowser1.document as iHTMLDocument2; HTMLInputElement := HTMLDoc2.All.Item('mail', 0) as iHTMLInputElement; HTMLInputElement.Set_Value(Edit1.Text); HTMLDoc2 := WebBrowser1.document as iHTMLDocument2; HTMLInputElement := HTMLDoc2.All.Item('passwd', 0) as iHTMLInputElement; HTMLInputElement.Set_Value(Edit2.Text); HTMLDoc2 := WebBrowser1.document as iHTMLDocument2; HTMLInputElement := HTMLDoc2.All.Item ('action_media_login_chk',0) as iHTMLInputElement; HTMLInputElement.Form.Submit;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.