pacozaa

JqueryDatepickerHoldBackFocus

Jun 24th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. //==============================================================//
  2. // setFormatDate("requestDateStartSrh", 3);
  3. // $('#requestDateStartSrh').datepicker({
  4. // language: 'th-th',
  5. // autoclose: true,
  6. // orientation: "auto",
  7. // format: "dd/mm/yyyy"
  8. // });
  9. // $('#requestDateStartSrh').change(function () {
  10. // if($(this).val().length >= $(this).attr('maxlength'))
  11. // {
  12. // setTimeout(function () {
  13. // var e = $.Event('keyup.tab');
  14. // $('#requestDateStartSrh').focus();
  15. // $('#requestDateStartSrh').trigger(e);
  16. // }, 1);
  17. // }
  18. // });
  19. //==============================================================//
  20. // setFormatDate("requestDateStopSrh", 3);
  21. // $('#requestDateStopSrh').datepicker({
  22. // language: 'th-th',
  23. // autoclose: true,
  24. // //orientation: "auto",
  25. // format: "dd/mm/yyyy"
  26. // });
  27. // $('#requestDateStopSrh').change(function () {
  28. // if($(this).val().length >= $(this).attr('maxlength'))
  29. // {
  30. // setTimeout(function () {
  31. // var e = $.Event('keyup.tab');
  32. // $('#requestDateStopSrh').focus();
  33. // $('#requestDateStopSrh').trigger(e);
  34. // }, 1);
  35. // }
  36. // });
  37. //==============================================================//
Advertisement
Add Comment
Please, Sign In to add comment