Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14180

Not able to disable calendar using jquery disable attribute

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5-Tracking
    • Component/s: None
    • Labels:
      None

      Description

      I have tried to disable calendar using below jquery code.
      $('#calendarForm1
      :calendarStatus').prop('disabled', true);
      but it does not disable the calendar.
      above code does not work so I tried to do element wise, by doing below code changes only disabled style is applied but functionality works as usual, like on click calendar icon, popup opens and able to select date.
      $('#calendarForm1
      :calendarStatusInputDate').prop('disabled', true);
      $('#calendarForm1
      :calendarStatusPopupButton').prop('disabled', true);

      By using server call to make use of rich:calendar disable attribute its taking little time to get enable and vice versa. Suggest me some workaround to play with javascript.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                santoshshirol Santosh Shirol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: