[javascript] How can I hide the Android keyboard using JavaScript?

Simple jQuery plugin to prevent keyboard showing for inputs:

(function ($) {
    $.fn.preventKeyboard = function () {
        return this
            .filter('input')
            .on('focus', function () {
                $(this)
                    .attr('readonly', 'readonly')
                    .blur()
                    .removeAttr('readonly');
            });
    };
}(jQuery));

Usage

It's useful for date fields with some datepicker attached.

$('#my_datepicker_field').preventKeyboard();

Try the snippet below on your smartphone!

(or see it on https://jsfiddle.net/dtyzLjhw/)

_x000D_
_x000D_
(function($) {_x000D_
  // Create plugin that prevents showing the keyboard_x000D_
  $.fn.preventKeyboard = function() {_x000D_
    return this_x000D_
      .filter('input')_x000D_
      .on('focus', function() {_x000D_
        $(this)_x000D_
          .attr('readonly', 'readonly')_x000D_
          .blur()_x000D_
          .removeAttr('readonly');_x000D_
      });_x000D_
  };_x000D_
_x000D_
  $(document).ready(function($) {_x000D_
    // Date field has datepicker attached._x000D_
    $('input[name=date]').datepicker();_x000D_
_x000D_
    // Prevent showing keyboard for the date field._x000D_
    $('input[name=date]').preventKeyboard();_x000D_
  });_x000D_
}(jQuery));
_x000D_
/*!_x000D_
 * Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)_x000D_
 *_x000D_
 * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)_x000D_
 */_x000D_
_x000D_
.datepicker {_x000D_
  padding: 4px;_x000D_
  -webkit-border-radius: 4px;_x000D_
  -moz-border-radius: 4px;_x000D_
  border-radius: 4px;_x000D_
  direction: ltr;_x000D_
}_x000D_
_x000D_
.datepicker-inline {_x000D_
  width: 220px;_x000D_
}_x000D_
_x000D_
.datepicker-rtl {_x000D_
  direction: rtl;_x000D_
}_x000D_
_x000D_
.datepicker-rtl.dropdown-menu {_x000D_
  left: auto;_x000D_
}_x000D_
_x000D_
.datepicker-rtl table tr td span {_x000D_
  float: right;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown {_x000D_
  top: 0;_x000D_
  left: 0;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown:before {_x000D_
  content: '';_x000D_
  display: inline-block;_x000D_
  border-left: 7px solid transparent;_x000D_
  border-right: 7px solid transparent;_x000D_
  border-bottom: 7px solid #999;_x000D_
  border-top: 0;_x000D_
  border-bottom-color: rgba(0, 0, 0, 0.2);_x000D_
  position: absolute;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown:after {_x000D_
  content: '';_x000D_
  display: inline-block;_x000D_
  border-left: 6px solid transparent;_x000D_
  border-right: 6px solid transparent;_x000D_
  border-bottom: 6px solid #fff;_x000D_
  border-top: 0;_x000D_
  position: absolute;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-left:before {_x000D_
  left: 6px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-left:after {_x000D_
  left: 7px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-right:before {_x000D_
  right: 6px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-right:after {_x000D_
  right: 7px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-bottom:before {_x000D_
  top: -7px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-bottom:after {_x000D_
  top: -6px;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-top:before {_x000D_
  bottom: -7px;_x000D_
  border-bottom: 0;_x000D_
  border-top: 7px solid #999;_x000D_
}_x000D_
_x000D_
.datepicker-dropdown.datepicker-orient-top:after {_x000D_
  bottom: -6px;_x000D_
  border-bottom: 0;_x000D_
  border-top: 6px solid #fff;_x000D_
}_x000D_
_x000D_
.datepicker table {_x000D_
  margin: 0;_x000D_
  -webkit-touch-callout: none;_x000D_
  -webkit-user-select: none;_x000D_
  -khtml-user-select: none;_x000D_
  -moz-user-select: none;_x000D_
  -ms-user-select: none;_x000D_
  user-select: none;_x000D_
}_x000D_
_x000D_
.datepicker td,_x000D_
.datepicker th {_x000D_
  text-align: center;_x000D_
  width: 20px;_x000D_
  height: 20px;_x000D_
  -webkit-border-radius: 4px;_x000D_
  -moz-border-radius: 4px;_x000D_
  border-radius: 4px;_x000D_
  border: none;_x000D_
}_x000D_
_x000D_
.table-striped .datepicker table tr td,_x000D_
.table-striped .datepicker table tr th {_x000D_
  background-color: transparent;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.day:hover,_x000D_
.datepicker table tr td.day.focused {_x000D_
  background: #eee;_x000D_
  cursor: pointer;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.old,_x000D_
.datepicker table tr td.new {_x000D_
  color: #999;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.disabled,_x000D_
.datepicker table tr td.disabled:hover {_x000D_
  background: none;_x000D_
  color: #999;_x000D_
  cursor: default;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.highlighted {_x000D_
  background: #d9edf7;_x000D_
  border-radius: 0;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.today,_x000D_
.datepicker table tr td.today:hover,_x000D_
.datepicker table tr td.today.disabled,_x000D_
.datepicker table tr td.today.disabled:hover {_x000D_
  background-color: #fde19a;_x000D_
  background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);_x000D_
  background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);_x000D_
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));_x000D_
  background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);_x000D_
  background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);_x000D_
  background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);_x000D_
  background-repeat: repeat-x;_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);_x000D_
  border-color: #fdf59a #fdf59a #fbed50;_x000D_
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);_x000D_
  color: #000;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.today:hover,_x000D_
.datepicker table tr td.today:hover:hover,_x000D_
.datepicker table tr td.today.disabled:hover,_x000D_
.datepicker table tr td.today.disabled:hover:hover,_x000D_
.datepicker table tr td.today:active,_x000D_
.datepicker table tr td.today:hover:active,_x000D_
.datepicker table tr td.today.disabled:active,_x000D_
.datepicker table tr td.today.disabled:hover:active,_x000D_
.datepicker table tr td.today.active,_x000D_
.datepicker table tr td.today:hover.active,_x000D_
.datepicker table tr td.today.disabled.active,_x000D_
.datepicker table tr td.today.disabled:hover.active,_x000D_
.datepicker table tr td.today.disabled,_x000D_
.datepicker table tr td.today:hover.disabled,_x000D_
.datepicker table tr td.today.disabled.disabled,_x000D_
.datepicker table tr td.today.disabled:hover.disabled,_x000D_
.datepicker table tr td.today[disabled],_x000D_
.datepicker table tr td.today:hover[disabled],_x000D_
.datepicker table tr td.today.disabled[disabled],_x000D_
.datepicker table tr td.today.disabled:hover[disabled] {_x000D_
  background-color: #fdf59a;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.today:active,_x000D_
.datepicker table tr td.today:hover:active,_x000D_
.datepicker table tr td.today.disabled:active,_x000D_
.datepicker table tr td.today.disabled:hover:active,_x000D_
.datepicker table tr td.today.active,_x000D_
.datepicker table tr td.today:hover.active,_x000D_
.datepicker table tr td.today.disabled.active,_x000D_
.datepicker table tr td.today.disabled:hover.active {_x000D_
  background-color: #fbf069 \9;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.today:hover:hover {_x000D_
  color: #000;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.today.active:hover {_x000D_
  color: #fff;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.range,_x000D_
.datepicker table tr td.range:hover,_x000D_
.datepicker table tr td.range.disabled,_x000D_
.datepicker table tr td.range.disabled:hover {_x000D_
  background: #eee;_x000D_
  -webkit-border-radius: 0;_x000D_
  -moz-border-radius: 0;_x000D_
  border-radius: 0;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.range.today,_x000D_
.datepicker table tr td.range.today:hover,_x000D_
.datepicker table tr td.range.today.disabled,_x000D_
.datepicker table tr td.range.today.disabled:hover {_x000D_
  background-color: #f3d17a;_x000D_
  background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);_x000D_
  background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);_x000D_
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));_x000D_
  background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);_x000D_
  background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);_x000D_
  background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);_x000D_
  background-repeat: repeat-x;_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);_x000D_
  border-color: #f3e97a #f3e97a #edde34;_x000D_
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);_x000D_
  -webkit-border-radius: 0;_x000D_
  -moz-border-radius: 0;_x000D_
  border-radius: 0;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.range.today:hover,_x000D_
.datepicker table tr td.range.today:hover:hover,_x000D_
.datepicker table tr td.range.today.disabled:hover,_x000D_
.datepicker table tr td.range.today.disabled:hover:hover,_x000D_
.datepicker table tr td.range.today:active,_x000D_
.datepicker table tr td.range.today:hover:active,_x000D_
.datepicker table tr td.range.today.disabled:active,_x000D_
.datepicker table tr td.range.today.disabled:hover:active,_x000D_
.datepicker table tr td.range.today.active,_x000D_
.datepicker table tr td.range.today:hover.active,_x000D_
.datepicker table tr td.range.today.disabled.active,_x000D_
.datepicker table tr td.range.today.disabled:hover.active,_x000D_
.datepicker table tr td.range.today.disabled,_x000D_
.datepicker table tr td.range.today:hover.disabled,_x000D_
.datepicker table tr td.range.today.disabled.disabled,_x000D_
.datepicker table tr td.range.today.disabled:hover.disabled,_x000D_
.datepicker table tr td.range.today[disabled],_x000D_
.datepicker table tr td.range.today:hover[disabled],_x000D_
.datepicker table tr td.range.today.disabled[disabled],_x000D_
.datepicker table tr td.range.today.disabled:hover[disabled] {_x000D_
  background-color: #f3e97a;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.range.today:active,_x000D_
.datepicker table tr td.range.today:hover:active,_x000D_
.datepicker table tr td.range.today.disabled:active,_x000D_
.datepicker table tr td.range.today.disabled:hover:active,_x000D_
.datepicker table tr td.range.today.active,_x000D_
.datepicker table tr td.range.today:hover.active,_x000D_
.datepicker table tr td.range.today.disabled.active,_x000D_
.datepicker table tr td.range.today.disabled:hover.active {_x000D_
  background-color: #efe24b \9;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.selected,_x000D_
.datepicker table tr td.selected:hover,_x000D_
.datepicker table tr td.selected.disabled,_x000D_
.datepicker table tr td.selected.disabled:hover {_x000D_
  background-color: #9e9e9e;_x000D_
  background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);_x000D_
  background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);_x000D_
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));_x000D_
  background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);_x000D_
  background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);_x000D_
  background-image: linear-gradient(to bottom, #b3b3b3, #808080);_x000D_
  background-repeat: repeat-x;_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);_x000D_
  border-color: #808080 #808080 #595959;_x000D_
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);_x000D_
  color: #fff;_x000D_
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);_x000D_
}_x000D_
_x000D_
.datepicker table tr td.selected:hover,_x000D_
.datepicker table tr td.selected:hover:hover,_x000D_
.datepicker table tr td.selected.disabled:hover,_x000D_
.datepicker table tr td.selected.disabled:hover:hover,_x000D_
.datepicker table tr td.selected:active,_x000D_
.datepicker table tr td.selected:hover:active,_x000D_
.datepicker table tr td.selected.disabled:active,_x000D_
.datepicker table tr td.selected.disabled:hover:active,_x000D_
.datepicker table tr td.selected.active,_x000D_
.datepicker table tr td.selected:hover.active,_x000D_
.datepicker table tr td.selected.disabled.active,_x000D_
.datepicker table tr td.selected.disabled:hover.active,_x000D_
.datepicker table tr td.selected.disabled,_x000D_
.datepicker table tr td.selected:hover.disabled,_x000D_
.datepicker table tr td.selected.disabled.disabled,_x000D_
.datepicker table tr td.selected.disabled:hover.disabled,_x000D_
.datepicker table tr td.selected[disabled],_x000D_
.datepicker table tr td.selected:hover[disabled],_x000D_
.datepicker table tr td.selected.disabled[disabled],_x000D_
.datepicker table tr td.selected.disabled:hover[disabled] {_x000D_
  background-color: #808080;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.selected:active,_x000D_
.datepicker table tr td.selected:hover:active,_x000D_
.datepicker table tr td.selected.disabled:active,_x000D_
.datepicker table tr td.selected.disabled:hover:active,_x000D_
.datepicker table tr td.selected.active,_x000D_
.datepicker table tr td.selected:hover.active,_x000D_
.datepicker table tr td.selected.disabled.active,_x000D_
.datepicker table tr td.selected.disabled:hover.active {_x000D_
  background-color: #666666 \9;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.active,_x000D_
.datepicker table tr td.active:hover,_x000D_
.datepicker table tr td.active.disabled,_x000D_
.datepicker table tr td.active.disabled:hover {_x000D_
  background-color: #006dcc;_x000D_
  background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));_x000D_
  background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -o-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-repeat: repeat-x;_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);_x000D_
  border-color: #0044cc #0044cc #002a80;_x000D_
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);_x000D_
  color: #fff;_x000D_
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);_x000D_
}_x000D_
_x000D_
.datepicker table tr td.active:hover,_x000D_
.datepicker table tr td.active:hover:hover,_x000D_
.datepicker table tr td.active.disabled:hover,_x000D_
.datepicker table tr td.active.disabled:hover:hover,_x000D_
.datepicker table tr td.active:active,_x000D_
.datepicker table tr td.active:hover:active,_x000D_
.datepicker table tr td.active.disabled:active,_x000D_
.datepicker table tr td.active.disabled:hover:active,_x000D_
.datepicker table tr td.active.active,_x000D_
.datepicker table tr td.active:hover.active,_x000D_
.datepicker table tr td.active.disabled.active,_x000D_
.datepicker table tr td.active.disabled:hover.active,_x000D_
.datepicker table tr td.active.disabled,_x000D_
.datepicker table tr td.active:hover.disabled,_x000D_
.datepicker table tr td.active.disabled.disabled,_x000D_
.datepicker table tr td.active.disabled:hover.disabled,_x000D_
.datepicker table tr td.active[disabled],_x000D_
.datepicker table tr td.active:hover[disabled],_x000D_
.datepicker table tr td.active.disabled[disabled],_x000D_
.datepicker table tr td.active.disabled:hover[disabled] {_x000D_
  background-color: #0044cc;_x000D_
}_x000D_
_x000D_
.datepicker table tr td.active:active,_x000D_
.datepicker table tr td.active:hover:active,_x000D_
.datepicker table tr td.active.disabled:active,_x000D_
.datepicker table tr td.active.disabled:hover:active,_x000D_
.datepicker table tr td.active.active,_x000D_
.datepicker table tr td.active:hover.active,_x000D_
.datepicker table tr td.active.disabled.active,_x000D_
.datepicker table tr td.active.disabled:hover.active {_x000D_
  background-color: #003399 \9;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span {_x000D_
  display: block;_x000D_
  width: 23%;_x000D_
  height: 54px;_x000D_
  line-height: 54px;_x000D_
  float: left;_x000D_
  margin: 1%;_x000D_
  cursor: pointer;_x000D_
  -webkit-border-radius: 4px;_x000D_
  -moz-border-radius: 4px;_x000D_
  border-radius: 4px;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span:hover,_x000D_
.datepicker table tr td span.focused {_x000D_
  background: #eee;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span.disabled,_x000D_
.datepicker table tr td span.disabled:hover {_x000D_
  background: none;_x000D_
  color: #999;_x000D_
  cursor: default;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span.active,_x000D_
.datepicker table tr td span.active:hover,_x000D_
.datepicker table tr td span.active.disabled,_x000D_
.datepicker table tr td span.active.disabled:hover {_x000D_
  background-color: #006dcc;_x000D_
  background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));_x000D_
  background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: -o-linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-image: linear-gradient(to bottom, #08c, #0044cc);_x000D_
  background-repeat: repeat-x;_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);_x000D_
  border-color: #0044cc #0044cc #002a80;_x000D_
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);_x000D_
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);_x000D_
  color: #fff;_x000D_
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);_x000D_
}_x000D_
_x000D_
.datepicker table tr td span.active:hover,_x000D_
.datepicker table tr td span.active:hover:hover,_x000D_
.datepicker table tr td span.active.disabled:hover,_x000D_
.datepicker table tr td span.active.disabled:hover:hover,_x000D_
.datepicker table tr td span.active:active,_x000D_
.datepicker table tr td span.active:hover:active,_x000D_
.datepicker table tr td span.active.disabled:active,_x000D_
.datepicker table tr td span.active.disabled:hover:active,_x000D_
.datepicker table tr td span.active.active,_x000D_
.datepicker table tr td span.active:hover.active,_x000D_
.datepicker table tr td span.active.disabled.active,_x000D_
.datepicker table tr td span.active.disabled:hover.active,_x000D_
.datepicker table tr td span.active.disabled,_x000D_
.datepicker table tr td span.active:hover.disabled,_x000D_
.datepicker table tr td span.active.disabled.disabled,_x000D_
.datepicker table tr td span.active.disabled:hover.disabled,_x000D_
.datepicker table tr td span.active[disabled],_x000D_
.datepicker table tr td span.active:hover[disabled],_x000D_
.datepicker table tr td span.active.disabled[disabled],_x000D_
.datepicker table tr td span.active.disabled:hover[disabled] {_x000D_
  background-color: #0044cc;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span.active:active,_x000D_
.datepicker table tr td span.active:hover:active,_x000D_
.datepicker table tr td span.active.disabled:active,_x000D_
.datepicker table tr td span.active.disabled:hover:active,_x000D_
.datepicker table tr td span.active.active,_x000D_
.datepicker table tr td span.active:hover.active,_x000D_
.datepicker table tr td span.active.disabled.active,_x000D_
.datepicker table tr td span.active.disabled:hover.active {_x000D_
  background-color: #003399 \9;_x000D_
}_x000D_
_x000D_
.datepicker table tr td span.old,_x000D_
.datepicker table tr td span.new {_x000D_
  color: #999;_x000D_
}_x000D_
_x000D_
.datepicker .datepicker-switch {_x000D_
  width: 145px;_x000D_
}_x000D_
_x000D_
.datepicker .datepicker-switch,_x000D_
.datepicker .prev,_x000D_
.datepicker .next,_x000D_
.datepicker tfoot tr th {_x000D_
  cursor: pointer;_x000D_
}_x000D_
_x000D_
.datepicker .datepicker-switch:hover,_x000D_
.datepicker .prev:hover,_x000D_
.datepicker .next:hover,_x000D_
.datepicker tfoot tr th:hover {_x000D_
  background: #eee;_x000D_
}_x000D_
_x000D_
.datepicker .prev.disabled,_x000D_
.datepicker .next.disabled {_x000D_
  visibility: hidden;_x000D_
}_x000D_
_x000D_
.datepicker .cw {_x000D_
  font-size: 10px;_x000D_
  width: 12px;_x000D_
  padding: 0 2px 0 5px;_x000D_
  vertical-align: middle;_x000D_
}_x000D_
_x000D_
.input-append.date .add-on,_x000D_
.input-prepend.date .add-on {_x000D_
  cursor: pointer;_x000D_
}_x000D_
_x000D_
.input-append.date .add-on i,_x000D_
.input-prepend.date .add-on i {_x000D_
  margin-top: 3px;_x000D_
}_x000D_
_x000D_
.input-daterange input {_x000D_
  text-align: center;_x000D_
}_x000D_
_x000D_
.input-daterange input:first-child {_x000D_
  -webkit-border-radius: 3px 0 0 3px;_x000D_
  -moz-border-radius: 3px 0 0 3px;_x000D_
  border-radius: 3px 0 0 3px;_x000D_
}_x000D_
_x000D_
.input-daterange input:last-child {_x000D_
  -webkit-border-radius: 0 3px 3px 0;_x000D_
  -moz-border-radius: 0 3px 3px 0;_x000D_
  border-radius: 0 3px 3px 0;_x000D_
}_x000D_
_x000D_
.input-daterange .add-on {_x000D_
  display: inline-block;_x000D_
  width: auto;_x000D_
  min-width: 16px;_x000D_
  height: 20px;_x000D_
  padding: 4px 5px;_x000D_
  font-weight: normal;_x000D_
  line-height: 20px;_x000D_
  text-align: center;_x000D_
  text-shadow: 0 1px 0 #fff;_x000D_
  vertical-align: middle;_x000D_
  background-color: #eee;_x000D_
  border: 1px solid #ccc;_x000D_
  margin-left: -5px;_x000D_
  margin-right: -5px;_x000D_
}_x000D_
_x000D_
.datepicker.dropdown-menu {_x000D_
  position: absolute;_x000D_
  top: 100%;_x000D_
  left: 0;_x000D_
  z-index: 1000;_x000D_
  float: left;_x000D_
  display: none;_x000D_
  min-width: 160px;_x000D_
  list-style: none;_x000D_
  background-color: #fff;_x000D_
  border: 1px solid #ccc;_x000D_
  border: 1px solid rgba(0, 0, 0, 0.2);_x000D_
  -webkit-border-radius: 5px;_x000D_
  -moz-border-radius: 5px;_x000D_
  border-radius: 5px;_x000D_
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);_x000D_
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);_x000D_
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);_x000D_
  -webkit-background-clip: padding-box;_x000D_
  -moz-background-clip: padding;_x000D_
  background-clip: padding-box;_x000D_
  *border-right-width: 2px;_x000D_
  *border-bottom-width: 2px;_x000D_
  color: #333333;_x000D_
  font-size: 13px;_x000D_
  line-height: 20px;_x000D_
}_x000D_
_x000D_
.datepicker.dropdown-menu th,_x000D_
.datepicker.datepicker-inline th,_x000D_
.datepicker.dropdown-menu td,_x000D_
.datepicker.datepicker-inline td {_x000D_
  padding: 4px 5px;_x000D_
}_x000D_
_x000D_
_x000D_
/*# sourceMappingURL=bootstrap-datepicker.standalone.css.map */
_x000D_
<!-- Require libs to show example -->_x000D_
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>_x000D_
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>_x000D_
_x000D_
<!-- Simple form with two text fields -->_x000D_
<form>_x000D_
  <input name="foo" type=text value="Click to see keyboard" />_x000D_
  <br/><br/><br/>_x000D_
  <input name="date" type=text />_x000D_
</form>
_x000D_
_x000D_
_x000D_

Examples related to javascript

need to add a class to an element How to make a variable accessible outside a function? Hide Signs that Meteor.js was Used How to create a showdown.js markdown extension Please help me convert this script to a simple image slider Highlight Anchor Links when user manually scrolls? Summing radio input values How to execute an action before close metro app WinJS javascript, for loop defines a dynamic variable name Getting all files in directory with ajax

Examples related to android

Under what circumstances can I call findViewById with an Options Menu / Action Bar item? How to implement a simple scenario the OO way My eclipse won't open, i download the bundle pack it keeps saying error log getting " (1) no such column: _id10 " error java doesn't run if structure inside of onclick listener Cannot retrieve string(s) from preferences (settings) strange error in my Animation Drawable how to put image in a bundle and pass it to another activity FragmentActivity to Fragment A failure occurred while executing com.android.build.gradle.internal.tasks

Examples related to keyboard

How do I check if a Key is pressed on C++ Move a view up only when the keyboard covers an input field Move textfield when keyboard appears swift Xcode iOS 8 Keyboard types not supported Xcode 6: Keyboard does not show up in simulator How to dismiss keyboard iOS programmatically when pressing return Detect key input in Python Getting Keyboard Input Press Keyboard keys using a batch file Keylistener in Javascript