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) <
[email protected]> wrote:

> when you get the <option> as QWebElement , do
> QWebElement::setAttribute ("selected" , "true") ?
>
> On Mon, Jun 7, 2010 at 11:05 AM, sunny shah <[email protected]> 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>
> >
>
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to