Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QWebView not updated.

$
0
0
<select id="gameid"  name="gameid" class="env" autocomplete="off" >         <option value="187" aleph="A,D">??3(Diablo III)</option>         <option value="229" aleph="A,D">??3(?????)</option>         <option value="11" aleph="M,W">????(??)</option></select> <code>   My HTML code is like above.. How can I set the option value 11 in my code. My snippet is below <code>    QWebElement selectBox =     m_WebView->page()->mainFrame()->findFirstElement("select[id=gameid]"); selectBox.evaluateJavaScript("this.value='11';"); But with this my webpage is not updating with 11 value.?? Please help.

Viewing all articles
Browse latest Browse all 18427

Trending Articles