Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Confirm message conflicts with form validators (need help)


Message #1 by Arjen Oetomo <ArjenO@c...> on Fri, 8 Nov 2002 09:29:39 +0100
Its true the first one was to determine if the confirm() returned a value, 
not to determine if the postback worked. =)

I even typed it in plain HTML, and still doesnt work :-S

The code is flawless, IIS works fine, VS.NET settings are ok. When I 
execute the same page on another server from my PC, I get the same faulty 
execution.I think your right about the browser. =)
I tried re-installing IE, but the problem still remains. Gonna format the 
HD an reinstall all :-)

> This is really funny.

It's correct that your first example doesn't cancel the postback. All you
do is alert a message of 'false', without actually stopping the form from
being submitted using return false;

However, the second example should work. This is just plain ol' HTML and
JavaScript.

Did you run the HTML code you posted in a plain .HTML file on your local
machine? What did it do?

If that still doesn't work, your browser is broken.....

Imar


  Return to Index