Re: submitting form in a internetcontrol

Tech-Archive recommends: Fix windows errors by optimizing your registry



It seems, my browser refuses to browse twice. I can navigate to a link,
examine the whole page, but nothing further. I can't do
webbrowser.Navigate(url) twice for some reason. Anyone have a clue what
might be causing this?

Nico.

<desertphile@xxxxxxxxxxx> schreef in bericht
news:1149167863.355121.162580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Nico wrote:

Well I tried everything out, but the issue doesn't change. It still
doesn't
submit the form. Not when I use the name of the button like i did
yesterday
and not with the number of the element. Also I found out that the button
is
not a submit button but a button that starts a script that does the
submit
on the client side. I have put the script down that does the submit.
Works
just fine when i do it manually, but not with the webbrowser. It has no
problems finding the right htmlelement, it just does not submit the form
for
some reason. I cannot change the script ofc, it's just to let you know
how
the relevant page handles a submit.
function fSubmit()
{

if (true)
{
if (fCheckLidnr(document.form1.lidnummer)== false) return;
}
document.form1.submit();
}
Here is the html code that defines the button:
<input name="button" type="button" value="Opzoeken" onclick="fSubmit()">
Nico.

Ah, well, danged if I know why it should not still work: one would
think a click is a click no matter what function is called. I do not
know anything about browser scripts.



.


Quantcast