SamWebdesigner Posted March 5, 2014 Share Posted March 5, 2014 var latestMDPver = $.ui.multiDatesPicker.version; var lastMDPupdate = '2012-03-28'; $(function() { // Version // //$('title').append(' v' + latestMDPver); $('.mdp-version').text('v' + latestMDPver); $('#mdp-title').attr('title', 'last update: ' + lastMDPupdate); // Documentation // $('i:contains(type)').attr('title', '[Optional] accepted values are: "allowed" [default]; "disabled".'); $('i:contains(format)').attr('title', '[Optional] accepted values are: "string" [default]; "object".'); $('#how-to h4').each(function () { var a = $(this).closest('li').attr('id'); $(this).wrap('<'+'a href="#'+a+'"></'+'a>'); }); $('#demos .demo').each(function () { var id = $(this).find('.box').attr('id') + '-demo'; $(this).attr('id', id) .find('h3').wrapInner('<'+'a href="#'+id+'"></'+'a>'); }); // Run Demos $('.demo .code').each(function() { eval($(this).attr('title','NEW: edit this code and test it!').text()); this.contentEditable = true; }).focus(function() { if(!$(this).next().hasClass('test')) $(this) .after('<button class="test">test</button>') .next('.test').click(function() { $(this).closest('.demo').find('.box').removeClass('hasDatepicker').empty(); eval($(this).prev().text()); $(this).remove(); }); JS FIDDLE LINK: http://jsfiddle.net/bJ7zj/#update When i go to the month of april and select dates, the date picker resets to march month. Link to comment https://forums.phpfreaks.com/topic/286716-multiple-date-picker-months-jumping-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.