[webkit-qt] QWebHitTestResult with Select Element

Antonio Gomes (:tonikitoo) tonikitoo at gmail.com
Mon Jun 7 08:25:18 PDT 2010


when you get the <option> as QWebElement , do
QWebElement::setAttribute ("selected" , "true") ?

On Mon, Jun 7, 2010 at 11:05 AM, sunny shah <sunny.cpp at gmail.com> wrote:
> Benjamin ,
>     I did not get that how to select any value in combobox, for example in
> below combo-box I want to set value "mercedes" to combobox, Is it possible
> to do this with QWebElement ?
>
> <select>
>   <option value="volvo">Volvo</option>
>   <option value="saab">Saab</option>
>   <option value="mercedes">Mercedes</option>
>   <option value="audi">Audi</option>
> </select>
>


More information about the webkit-qt mailing list