how can i get userinput in input field?
QObject::connect( webView, SIGNAL(loadStarted()), this, SLOT(slotLoadStarted()) ); void slotLoadStarted() { QWebFrame *frame = webView->page()->currentFrame(); if (frame!=NULL) { QWebElementCollection collection = frame->findAllElements("input[name=email]"); foreach (QWebElement element, collection) { qDebug() << "element.toOuterXml" << element.toOuterXml(); qDebug() << "element.attribute value:" << element.attribute("value"); } }
}
if I set the attribute, how does it work, but I want to catch user input, any ideas?
Kenni source share