Advertisement
Guest User

Untitled

a guest
Jan 7th, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*add time to dynamically created fields. Update this using .on(), .delegate(), or something more practical later. Multiple scripts can be added this way. */
  2.  
  3.  jQuery('.my_time').live('focus',function()
  4.       {
  5.  
  6.         jQuery(this).timepicker({
  7.             showHour: false,
  8.             showMinute: true,
  9.             showSecond: true,
  10.             timeFormat: 'mm:ss'
  11.         });
  12.       });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement