469,352 Members | 1,766 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

OnClick="return confirm" not work

I post this message here because I have post in js.group before, but onone
answer, thus i guess this is ASP issue.
<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?')">Click me</A>

or

<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?');return false;">Click me</A>

Everything fine in XP and 2000, but in all WindowsMe Stations, it redirects
the link even the users
click no, I check all the computers, they have installed IE6 Sp1 and
js enabled. What wrong ? Please help !


Jul 22 '05 #1
1 5986
Alan wrote on 02 mei 2005 in microsoft.public.inetserver.asp.general:
I post this message here because I have post in js.group before, but
onone answer, thus i guess this is ASP issue.
<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?')">Click me</A>

or

<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?');return false;">Click me</A>
Everything fine in XP and 2000, but in all WindowsMe Stations, it
redirects the link even the users
click no, I check all the computers, they have installed IE6 Sp1 and
js enabled. What wrong ? Please help !


Your guess is wrong.

ASP is serverside code,
and there is nothing serverside in yours.

Please go to a clientside javascript NG.

[btw, Everything NOT fine in XP and 2000]

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ben | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.