redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

problems with link



 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
BigDaddy



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



Joined: 25 May 2006
Posts: 108
then if myFunc returns false, it won't follow
  Reply with quote
BigDaddy



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



Joined: 25 May 2006
Posts: 108
don't use javascript: it's useless
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Oh ok, isn't it required for standards-compat?
  Reply with quote
PaulKolin



Joined: 25 May 2006
Posts: 108
No it isn't :P
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Oh ok my mistake. thanks for your help :)
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group