MFCalendarPopup / 1.0 / demo / demo.html file last updated : 2024-05-13 |
---|
<!-- methodfish package release
Project : MFCalendarPopup
Release : 1.0
Release date : 2024-05-09 18:50:52
License : {{warning}}tba
For more information please refer to https://methodfish.com/Projects/MFCalendarPopup
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Methodfish Calendar Popup demo</title>
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/png" href="https://methodfish.com/images/methodfish.ico">
<link rel="stylesheet preload prefetch" as="style" href="https://fonts.googleapis.com/icon?family=Material+Icons|Roboto">
<link rel='stylesheet preload prefetch' as='style' href='https://methodfish.com/Download/MFCalendarPopup/files/latest/css/mf-calendar-popup.css'>
<script src='https://methodfish.com/Download/MFCalendarPopup/files/latest/js/mf-calendar-popup.js'></script>
<style>
* {
font-family:Roboto;
}
</style>
</head>
<body>
<h1><a href="https://methodfish.com/Projects/MFCalendarPopup">Methodfish MF-Calendar Popup</a> javascript widget</h1>
<p>
The following is a demo of the MFCalendarPopup widget.
</p>
<p>
<button>Calendar...</button>
<input style='width:50%; padding:10px; margin:10px;'>
</p>
<script>
document.querySelector('button').addEventListener('click', function(e) {
new MFCalendarPopup().getDate(e.target, new Date(), setDate);
});
function setDate(dt){
document.querySelector('input').value=dt;
}
</script>
</body>
</html>
Also see
articles/Implementing-a-Monaco-Editorsquarearticles/iConnectionTestsquarearticles/javascript-camerasquarearticles/list-editsquarearticles/minifierssquarearticles/opayosquarearticles/table-drag-sortersquarearticles/typewatchsquareprojects/MFCalendarPopupsquareprojects/MFChartColumnsquareprojects/MFColorPickersquareprojects/MFColorPickerBasicsquareprojects/MFColumnGradientsquareprojects/MFFloatawayMsgsquareprojects/MFPanelssquareprojects/MFSelectorsquare
Comments
New Comment