There is a dropdown list in a HTML page:
I want to programmatically change the selected value from the dropdown list using:
webBrowser1.Document.InvokeScript
Executing
$('#year_sel').val('2012').change();
in FireBug console works but the same statement does not work when I use
webBrowser1.Document.InvokeScript("$('#year_sel').val('2012').change();")
How can I get that to work using InvokeScript
?
Some help would be greatly appreciated.