Datepicker control: add +1 day at required check-out date in Using jQuery -


i need in jquery date picker have 2 textbox 1 check in , other check out ... want 1 day add in checkout box code , unable date in check out box 1 day ahead...plz help

    $("#checkindatepicker").datepicker({         defaultdate: "+1w",         mindate: 0,         changemonth: true,         showon: "button",         buttonimage: "/images/base/calander.png",         numberofmonths: 2,         showbuttonpanel: true,         buttonimageonly: true,           onselect: function (selecteddate) {             var mindate = $(this).datepicker('getdate');             if (mindate) {                 mindate.setdate(mindate.getdate() + 1);             }             $("#checkoutdatepicker").datepicker("option", "mindate", mindate || 1);             } 

$("#checkindatepicker").datepicker({     defaultdate: "+1w",     mindate: 1,     changemonth: true,     showon: "button",     buttonimage: "/images/base/calander.png",     numberofmonths: 2,     showbuttonpanel: true,     buttonimageonly: true, 

change mindate day extend 1 day


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -