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 
         

how to disable an A element via JS


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Klimapol



Joined: 27 May 2006
Posts: 134
Yo..how do i disable an "A" element via JS?
  Reply with quote


BigDaddy



Joined: 26 May 2006
Posts: 147
Why disable it?
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
Well..i'm using a link as an ajax submit button
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
Don't
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
I would like to disable it when someone does the first click
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
You can put onclick on any element
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
....is it possible to disable it with JS?
I swear..you're that mac user aren't you?
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
No
I use windows and linux
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
But you can do <a href="blah" disabled="disabled">...
  Reply with quote
BigDaddy



Joined: 26 May 2006
Posts: 147
You haven't given a good reason to use an <a> at all
  Reply with quote
Page 1 of 2 Goto page 1, 2  Next
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