The InputDate widget provides a convenient visual mechanism for helping users to select dates. This widget supports a wide range of date formats, making it easier for the user to select a date and provide the information to you in a consistent way. The InputDate widget only works on an input
element. To display a calendar without the input
element, use the calendar widget, which looks as shown in the following screenshot:
To display an InputDate widget with a button to trigger the calendar, wrap the input
element in a fixed width block, initialize the widget with the showTrigger
option, and remove the wijmo-wijinput-trigger
class:
<!DOCTYPE HTML> <html> <head> <title>InputDate Example</title> ... $(document).ready(function () { $("#calendarInput").wijinputdate({showTrigger: true}); }); </script> <style> .date { width: 200px; } </style> </head> <body> <div class="date"><input type="text...