2 Replies Latest reply on Apr 30, 2010 3:30 AM by anisj1m

    probleme with disabled in rich:calendar




      I have a rich calendar initially have disabled="false" :

      <rich:calendar id="startdate" disabled="false" value="#{..}" />


      after a javascript action i want to change it to disabled = true so i did :


      document.getElementById('form:startdate').disabled = true;


      I get the text area disabled as expected, but the calendar button is able, how can i disable it ?


      thanks in advance,