Ich habe ein Textfeld, das Bootstrap-Datepicker-Plugin verwendet. Textfeld ist als unten-Versteckte Tastatur auf einem Textfeld in mobilen/Tabletten
<input id="Date" name="Date" type="text" value="">
JS-Code, den Datepicker bindet mit ihm als folgt-
$('#Date').datepicker({
format: "dd MM, yyyy",
disableTouchKeyboard: true,
todayHighlight: true
});
In Desktop-PC ist, es funktioniert gut.
Ich habe ein Problem in Handys und Tabletten - Wenn Benutzer auf dieses Textfeld klicken, zeigt es Kalender sowie virtuelle Tastatur.
Ich möchte virtuelle Tastatur für dieses Textfeld für Handys und Tablets verstecken, wenn es forcus.
Wie kann ich das tun?
Ich bekam das gleiche Problem schon einmal und löste es durch Eingabe von $ ('# Date'). Blur(); lass es mich wissen, wenn es wokrs – PacMan
Cool! Das hat funktioniert. Vielen Dank. – kamalpreet