Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-28-2004, 10:50 PM   PM User | #1
wac
Regular Coder

 
wac's Avatar
 
Join Date: Sep 2002
Location: Cary, North Carolina, USA
Posts: 359
Thanks: 2
Thanked 0 Times in 0 Posts
wac is an unknown quantity at this point
disable an anchor

What's the easiest way in javascript to disable an anchor?
__________________
Wayne Christian
wac is offline   Reply With Quote
Old 05-29-2004, 12:04 AM   PM User | #2
SlySecretSpy
New Coder

 
Join Date: Nov 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
SlySecretSpy is an unknown quantity at this point
I would probably just change it. To say -disabled.
SlySecretSpy is offline   Reply With Quote
Old 05-29-2004, 12:10 AM   PM User | #3
Vladdy
Senior Coder

 
Join Date: Jun 2002
Location: Nashua, NH
Posts: 1,724
Thanks: 0
Thanked 0 Times in 0 Posts
Vladdy is an unknown quantity at this point
onclick="return false;"
On the same token if you do not need an anchor why use it in the first place.
__________________
Vladdy | KL
"Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"
Vladdy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:02 AM.


Advertisement
Log in to turn off these ads.