Hello Again,
I am struck again with this web browser...I am unable to capture the button click event on this web page...the source code looks like
Let me make it clear...
I dont want to click the submit button rather want to save the data entered into the fields to a recordset (further to a table) when this form is submitted successfully.
I am unable to figureout how to trap if the submit (Save & Calculate in my case) button is clicked?
I've tried with the Webbrowser1.DocumentComplete but by then the page has moved to submitted and my recordset got no data to save...
NB: I am not the owner of the website but still belongs to my organisation (Diff Department)
The following code in the above scenario, clicks the button
Hope this might help one of you to see how can i capture the state of the button...
I mean to check if the button is clicked or not...
Honestly..I've spent more than 20 hrs on this..If any of you can tell me if this is actually possible that would be great...I can't afford to spend more time on this....
Many thanks
I am struck again with this web browser...I am unable to capture the button click event on this web page...the source code looks like
Code:
<divclass="submitBtn clear right">
<inputtype="submit" id="policy-details_Save and Calculate" name="method:calculate" value="Save and Calculate" class="yellowButtonLongest2"/>
</div>
Let me make it clear...
I dont want to click the submit button rather want to save the data entered into the fields to a recordset (further to a table) when this form is submitted successfully.
I am unable to figureout how to trap if the submit (Save & Calculate in my case) button is clicked?
I've tried with the Webbrowser1.DocumentComplete but by then the page has moved to submitted and my recordset got no data to save...
NB: I am not the owner of the website but still belongs to my organisation (Diff Department)
The following code in the above scenario, clicks the button
Code:
ie.Document.all("method:calculate").Click
Hope this might help one of you to see how can i capture the state of the button...
I mean to check if the button is clicked or not...
Honestly..I've spent more than 20 hrs on this..If any of you can tell me if this is actually possible that would be great...I can't afford to spend more time on this....
Many thanks