calling javascript in c# using webbrowser control for automation?

Aug 20 2010 5:03 AM
Hi,

     I'm working on a automation application which i've developed in c#. I'm using webbrowser control. the problem is there's a javascript onchange function in an html.
the function is like --> onfldchange(seid) <-- its with the parameter.

The code i'm using to call n execute this javascript is :

webbrowser.document.invokescript("onfldchange", new object[] {""});

In the above code , i've to check all the html id elements n execute..

i mean for checking single id i use

webbrowser.document.invokescript("onfldchange", new object[] {"se123"});

what can i use to check all the ids in the html form??

Thank you..