Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery datepicker

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>jQuery UI Datepicker - Default functionality</title>
  <link rel="stylesheet" href="//code.jquery.com/ui/1.13.0/themes/base/jquery-ui.css">
  <link rel="stylesheet" href="/resources/demos/style.css">
  <script src="https://code.jquery.com/jquery-3.6.0.js"></script>
  <script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
  <script>
  $( function() {
    $( "#datepicker" ).datepicker();
  } );
  </script>
</head>
<body>
 
<p>Date: <input type="text" id="datepicker"></p>
 
 
</body>
</html>
Comment

jquery datepicker

$( "#datepicker" ).datepicker();
Comment

jquery timepicker

$('.timepicker').timepicker({
    timeFormat: 'h:mm p',
    interval: 15,
    minTime: '10',
    maxTime: '6:00pm',
    defaultTime: '11',
    startTime: '10:00',
    dynamic: false,
    dropdown: true,
    scrollbar: true
});
Comment

jquery datepicker

$( "#datepicker" ).datepicker();
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript select element with two classes 
Javascript :: javascript getters and setters 
Javascript :: clear all cookies 
Javascript :: javascript add to object 
Javascript :: js random unique id 
Javascript :: javascript string proper case 
Javascript :: textarea onclick select all 
Javascript :: obtener ancho de pantalla javascript 
Javascript :: password regex 
Javascript :: javascript array slice 
Javascript :: comparing two array of objects in javascript returning differences 
Javascript :: numberformat react phone number 
Javascript :: declare multiple variables javascript 
Javascript :: see vuex values production console 
Javascript :: How to find unique values from an array in sorted order js 
Javascript :: javascript int to string 
Javascript :: put new attribute on html tag using javascript 
Javascript :: add new database mongodb 
Javascript :: disabling ctrl + s using javascript 
Javascript :: indexof javascript duplicate arrays 
Javascript :: redux mapstatetoprops get props 
Javascript :: change image onclick javascript 
Javascript :: node isfile or isdirectory 
Javascript :: Encoding and Decoding Base64 Strings in Node.js 
Javascript :: search through json for key 
Javascript :: convert string to object javascript 
Javascript :: mongodb check if collection exists 
Javascript :: how to change package name in react native 
Javascript :: how to cut off decimals in javascript 
Javascript :: express return svg 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =