Contact Us
Go to ...
Go to ...
Home
Category
Php
Jquery
Sql
WordPress
Laravel
CSS
Ajax
Bootstrap
Magento
Linux
AngularJs
Contact Us
Recent Posts
Upload file in Google Drive using API
Fix specified key was too long issue in laravel
Install Swagger in Laravel 9
Print File From Api in Angular
Download File From Api in Anuglar
destroy detepicker tagged posts
Reset Datepicker in jquery
$('#checkin').datepicker('destroy');// it destroy old date picker data $('#checkin').datepicker({ showButtonPanel: false, minDate: maxdate, dateFormat: 'dd/mm/yy', onSelect: function () { var dt2 = $('#checkout'); var startDate = $(this).datepicker('getDate'); var minDate = $(this).datepicker('getDate'); var dt2Date = dt2.datepicker('getDate'); //difference in days. 86400 seconds in day, 1000 ms in second var dateDiff = (dt2Date - minDate)/(86400 * 1000); startDate.setDate(startDate.getDate() + 30); if (dt2Date == null || dateDiff < 0) { // dt2...
Posted in 
Jquery
No comments
February 11, 2020
Read More
Tweet