Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Dynamically Enabling Disabling HTML Link
Joined: Jul 09, 2007
Sep 19, 2007 02:52:00
Is there a way for me to dynamically enable/disable HTML Link?
I have look on the html:button and html:checkbox and it has property called
"disabled" property which when properly set will totally disable the button.
I have look on the property on html:link but found no "disabled" property.
I need to have the same functionality applied to html link. Is there a way that I could implement this.
Thanks for the help.
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Joined: Mar 02, 2005
Sep 19, 2007 05:58:00
Similar scenario I go with
<logic:equal> //checking some condition(have a flag etc.,) and display with link </logic:equal> <logic:notEqual> Display without link </logic:notEqual>
It is sorta covered in the
JavaRanch Style Guide
subject: Dynamically Enabling Disabling HTML Link
Disable an image anchor
html:checkbox disable property
Question on "a href "
Disable a link and display a "processing" message?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014