<pre lang="cs">function ShowEventPopup(date) { ClearPopupFormValues(); $('#popupEventForm').show(); $('#eventTitle').focus(); }
<div class="container"> <div> <a href="#" id="btnInit" class="btn btn-secondary">Initialise database!</a> </div> <div id='calendar' style="width:65%"></div> </div> <div id="popupEventForm" class="modal hide" style="display: none;"> <div class="modal-header"><h3>Zuig er aan</h3></div> <div class="modal-body"> <form id="EventForm" class="well"> <input type="hidden" id="eventID"> <label>Event title</label> <input type="text" id="eventTitle" placeholder="Title here"><br /> <label>Scheduled date</label> <input type="text" id="eventDate"><br /> <label>Scheduled time</label> <input type="text" id="eventTime"><br /> <label>Appointment length (minutes)</label> <input type="text" id="eventDuration" placeholder="15"><br /> </form> </div> <div class="modal-footer"> <button type="button" id="btnPopupCancel" data-dismiss="modal" class="btn">Cancel</button> <button type="button" id="btnPopupSave" data-dismiss="modal" class="btn btn-primary">Save event</button> </div> </div>
function ShowEventPopup(date) { ClearPopupFormValues(); $('#popupEventForm').show(); $('#eventTitle').focus(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)