Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // init datepicker
- function initDatepicker(){
- jQuery('.with-datepicker').each(function(){
- var hold = jQuery(this);
- var input = hold.find('input:text');
- var opener = hold.find('.btn');
- input.datepicker({
- showOtherMonths: true
- })
- opener.bind('click', function(e){
- input.focus();
- e.preventDefault();
- })
- })
- }
- $(this).parent().css('position', 'relative');
- $(this).parent().css('z-index', 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement