diff options
author | Joonghun Park <jh718.park@samsung.com> | 2013-09-05 10:50:20 +0900 |
---|---|---|
committer | Joonghun Park <jh718.park@samsung.com> | 2013-09-05 10:55:30 +0900 |
commit | 44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a (patch) | |
tree | 6fae3592becf09b622292ad0c76cd7c4daca3991 | |
parent | eb6460273d8de4cee6ad82a443a007c77b8620d9 (diff) | |
download | TemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.tar.gz TemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.tar.bz2 TemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.zip |
[title] revise code to distinguish number, char key event from other key events
Change-Id: I5025000ee383e004c1d626c3af7a57dc98d5e2e9
-rwxr-xr-x | js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ $(document).ready(function() { });
// disable keyboard for date input field
- $("#datePiker").on("keydown", function(e) {
+ $("#datePiker").on("keypress", function(e) {
e.preventDefault();
});
|