Accessing html form input type=text using jquery from a windows forms webbrowser-control
- by simply-tom
I have two elements on my Windows Forms application:
Webbrowser-Control
Button
Inside of the webbrowser-control I show a very simple html-form with two input type=text.
I press the button and get access to both text fields.
Last year at the Qt developer conference there was a quite good presentation: http://labs.trolltech.com/blogs/2009/04/17/jquery-and-qwebelement/
void highlightAllLinks() {
QString code = "$('a').each( function () { $(this).css('background-color', 'yellow') } )";
view-page()-mainFrame()-evaluateJavaScript(code);
}
But I have to do this with .net and Windows Forms. Anyone knowing a good tutorial?
Best regards,Tom