PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/BMTmobile-master/assets/grocery_crud/js/jquery_plugins/config/jquery.datetime.config.js

https://gitlab.com/webservers/codeigniter_mobile_dev_server
JavaScript | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | 58261f5692acf2c466f4713b361dc00f MD5 | raw file
 1  $(function(){
 2    $('.datetime-input').datetime({
 3		userLang	: 'en',
 4		americanMode: true,
 5	});
 6    
 7	$('.datetime-input-clear').button();
 8	
 9	$('.datetime-input-clear').click(function(){
10		$(this).parent().find('.datetime-input').val("");
11		return false;
12	});	
13
14  });