[webkit-qt] QWebHitTestResult with Select Element

sunny shah sunny.cpp at gmail.com
Mon Jun 7 11:51:41 PDT 2010


Got It! It worked,

Now I understood the way to change DOM with QWebElement.

Thanks,
 Sunny.

On Mon, Jun 7, 2010 at 8:55 PM, Antonio Gomes (:tonikitoo) <
tonikitoo at gmail.com> wrote:

> 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>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100608/ed56e9ad/attachment-0001.html>


More information about the webkit-qt mailing list