[SOLVED] Full Calendar | disable select option in dropdown with javascript

marcq

Member
Hi,

I have created a fullcalendar where all existing events : bookings, training sessions and internal events, are displayed.

By double clicking on the calendar, I can create one of those event (booking, training session or internal event).

Since I want the bookings beeing displayed, but not being created by the logged in user, I need to disable the :

Code:
<option value="71">Cr?er une r?servation - Patron</option>

from my select list

Code:
<select id="fabrik_event_type" name="event_type" class="inputbox" size="1">
    <option value="" selected="selected">Veuillez s?lectionner</option>
    <option value="71">Cr?er une r?servation - Patron</option>
    <option value="72">Cr?er une session d'entra?nement - Patron</option>
    <option value="73">Cr?er un ?v?nement interne - Patron</option>
</select>

Is it possible to disable the option value "71" with javascript ?

Thanks a lot for your support.

Cheers, marc
 
We are in need of some funding.
More details.

Thank you.
Back
Top