Help us understand the problem. What is going on with this article?

JavaScript jquery.datetimepicker.js

More than 1 year has passed since last update.

datetimepicer の簡易サンプル、オプションはてきとうに設定

download (zip)

https://xdsoft.net/jqplugins/datetimepicker/

html

<!DOCTYPE html>
<html lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>

<link rel="stylesheet" type="text/css" href="./jquery.datetimepicker.css"/>
<script src="./jquery.js"></script>
<script src="./build/jquery.datetimepicker.full.js"></script>
<script>
$(function(){
$('#datetimepicker1').datetimepicker({
    timepickerScrollbar:true,
    scrollTime:true,
    scrollInput:true,
    scrollMonth:true
});
$('#datetimepicker2').datetimepicker({datepicker:false});
$('#datetimepicker3').datetimepicker({timepicker:false});
});
</script>
</head>

<body>
    <h3>DateTimePicker</h3>
    <input type="text" id="datetimepicker1"/><br><br>
    <h3>TimePicker</h3>
    <input type="text" id="datetimepicker2"/><br><br>
    <h3>DatePicker</h3>
    <input type="text" id="datetimepicker3"/><br><br>
</body>
</html>

  • scrollTime のオプションきかない...
    build/jquery.datetimepicker.full.js 2087行目に以下を追加すれば...
            if (!options.scrollTime) {
                timeboxparent.off('mousewheel');
            }
sueasen
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした