如何使用Tchromium Delphi更改组合框的值? 版本Tchromimum DCEF3如何改变Delphi Tchromium中组合框的值?
<td class="droplabels" nowrap="nowrap">Лист</td>
<td colspan="3">
<div class="ui-widget">
<select id="sheet" name="sheet" style="font-size:0.7em;width:761px;"
class="form_select" onchange="showSheet(this.value);">
<option value="1" selected="selected">Account List </option>
<option value="2">Merchant list</option>
</select>
</div>
</td>
试试这个但不工作的... Chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementById("sheet").selectedIndex=2;', 'about: blank', 0); Chromium1.Browser.MainFrame.ExecuteJavaScript('document.getElementById("providerField").onchange();', 'about: blank', 0);
您正在使用哪个版本的Chromium? – TLama 2013-03-12 12:23:33
来自svn/truck的最新版本 – Ulugbek 2013-03-13 04:16:16
如果是['CEF1'](https://code.google.com/p/delphichromiumembedded/)或['CEF3'](https://code.google.com/p/dcef3 /)Delphi的包装器。你可以[编辑你的问题](http://stackoverflow.com/posts/15354828/edit),并将这些信息包含在你的问题中? – TLama 2013-03-13 07:26:08