TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pinku
1.4k
302
45.3k
Calender jumps to the current date while selecting multiple
Dec 27 2019 12:45 AM
I have a big problem with the multiple date picker. Wheneaver I enter a date (for instance in August) the date picker automatically jumps back to the current date. So I have to go to August again manually which is very annoying if you have to add dozens of dates.
jQuery("#txtDate").multiDatesPicker({
dateFormat: 'dd/mm/yy',
showOn: 'focus',
minDate: +1,
multidate: true,
maxDate: ScriptVariables.Get('ExpiryDate'),
maxPicks: ScriptVariables.Get('MaxDatePicks'),
showOn: "button",
buttonImage: "http://img.icbdr.com/images/images/jpimages/mdp-icon.png",
buttonImageOnly: true,
buttonText: "You can use this feature to schedule the refreshes for this job."
});
var SelectedDates = ScriptVariables.Get('SelectedDates');
if(jQuery('#rMultiOpt').is(':checked'))
{
jQuery("#txtDate").multiDatesPicker('addDates', GetSelectedDates(SelectedDates)
);
jQuery("#txtDate").val(SelectedDates);
}
function GetSelectedDates(dates)
{
var myDates = [];
jQuery.each(dates.split(','), function(){
myDates.push(jQuery.trim(this));
});
return myDates
}
Reply
Answers (
1
)
read text from image
What is transient and volatile Modifiers ?