UIkit date time sandbox

Developer
Size
1,713 Kb
Views
10,120

How do I make an uikit date time sandbox?

A sandbox for tinkering with UIKit. What is a uikit date time sandbox? How do you make a uikit date time sandbox? This script and codes were developed by Sam Seay on 07 January 2023, Saturday.

UIkit date time sandbox Previews

UIkit date time sandbox - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>UIkit date time sandbox</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/css/uikit.almost-flat.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/css/components/datepicker.almost-flat.min.css'>
</head>
<body> <form class="uk-form"> <input class="date" type="text" data-uk-datepicker value='2015-01-01'> <input class='time' data-uk-timepicker value='1:30'> <p class='date-time'></p>
</form> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/js/uikit.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/js/components/datepicker.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/js/components/timepicker.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.3/js/components/autocomplete.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

UIkit date time sandbox - Script Codes JS Codes

var updateMoment = function() { $('.date-time').html( moment($('.date').val() + ' ' + $('.time').val()).format() );
}
$('.date, .time').change(updateMoment);
updateMoment();
UIkit date time sandbox - Script Codes
UIkit date time sandbox - Script Codes
Home Page Home
Developer Sam Seay
Username samueljseay
Uploaded January 07, 2023
Rating 3
Size 1,713 Kb
Views 10,120
Do you need developer help for UIkit date time sandbox?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Sam Seay (samueljseay) Script Codes
Create amazing SEO content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!