| View previous topic :: View next topic |
| Author |
Message |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
Hey guys - i have a hyperlink with an onclick event, that fires a function that calls (confirm) to confirm if the user really wants to follow the link. However returning false doesn't stop the link from being followed, any ideas?
Reply with quote
|
| |
|
|
PaulKolin Enthusiastic Coder
Joined: 25 May 2006 Posts: 108
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
Ah thanks, i only called the function i.e onclick=javascript:function(); not javascript:return function(); will try that
Reply with quote
|
| |
|
|
PaulKolin Enthusiastic Coder
Joined: 25 May 2006 Posts: 108
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
PaulKolin Enthusiastic Coder
Joined: 25 May 2006 Posts: 108
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
|