Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to enable /disable the link
Message
 
 
À
28/03/2012 10:48:32
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01539560
Message ID:
01539571
Vues:
41
>>What should I use to enable /disable the link (href) conditionally?
>
>If you ID the A HREF, you can use GetElementByID() to get a reference to it. Then, it's just a question of changing the attribute available under the A tag.
>
>As far as disabling, there isn't really anything about that. However, you can make it look like that by changing its color, removing the hyperlink and such.

What do you mean by changing the attribute? Can you show some code samples?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform