using webbrowser to test but can't include post data
I have been instructed to use the WebBrowser control in a WinForm to test parts of a web page. I have been able to determine how to manipulate the page in every way I need to except for one. I do not know how to include an "href" attribute with the post data.
Here's the javascript I'm trying to conquer programmatically:
<FORMname="items"method="post">
<TABLE><TR>
<TD><A href="bigplot.phtml?exo=995&x=7"
onClick="this.href='bigplot.phtml?exo=995&xyz=1477';if (!confirm('Are you sure?')) { return false; }">
I want to circumvent the "confirm" so that the tests can run without a human present. If all the "confirm" does is submit a "post" with the href attribute (in bold above) included as post data then how do I include it before I perform a "submit()" on the HTMLFormElement? Or is there an easier way to do this? Oh, and I can't use the href attribute on the containing element since it uses a slightly different value.

