Accessing html form input type=text using jquery from a windows forms webbrowser-control

Posted by simply-tom on Stack Overflow See other posts from Stack Overflow or by simply-tom
Published on 2010-04-08T12:07:44Z Indexed on 2010/04/08 13:13 UTC
Read the original article Hit count: 708

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about webbrowser-control