how to disable <a href

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selvialagar
    New Member
    • Apr 2008
    • 57

    how to disable <a href

    i have link like this...

    <a href="javascrip t:showCal('Cale ndar2')">Select Date</a>


    i have a radio button named 'rent'.
    now i want to disable this link....but it should be enable when i click the radio button....is it possible....plz give some ideas...
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You should be able to disable the link by adding onclick="return false;" to the link element. To enable it, just remove the onclick (set it to null).

    Comment

    Working...