Færdiggjort

Jquery date disable and avoid date duplication

There are 2 parts

1) Disable already selected date from the calendar

2) If user logs back in, Disable his selection of dates- his date selection is stored in a file with the name of the selected date

This is the script I am currently using to display only certain dates. Now I need part1 and 2.
PLEASE PING ME IF YOU HAVE ANY QUESTIONS!! I AM MORE THAN HAPPY TO ANSWER ALL OF THEM!

<script>
var date_selected = ''
$( function() {
$( "#datepicker" ).datepicker({
firstDay: 0,
beforeShowDay: function (date) {
var monday = new Date();
monday.setHours(0,0,0,0);
monday.setDate(monday.getDate() + 1 - (monday.getDay() || 7));
var thursday = new Date(monday);
thursday.setDate(monday.getDate() + 3);
var today = new Date();
var d = new Date();
let hours =d.setHours(d.getHours());
let minutes = d.setMinutes(d.getMinutes());
alert(hours,minutes)
if (hours < 14 && minutes < 31){
today.setDate(today.getDate());
return [(date >= today && date <= thursday), ''];
}
else{
today.setDate(today.getDate() -1);
return [(date >= today && date <= thursday), ''];
}
} });
$( "#datepicker" ).on( "change", function() {
var selected = $(this).val();
$('#selected_dates').val($('#selected_dates').val() + selected + '; ');
date_selected = selected;
});
} );

Part 1) Example:-
In the current calendar, a user(Shekhar) can click on 14 th August multiple times. What needs to be done is disable the date that has been selected by the user. If the user clicks on 15th, 15th august should also be disabled and so on. (Remember, user can select multiple dates)

Part 2) Example:-
A user selects 14th and 15th August and clicks submit. After 2 hours, user comes back and logs back in. The calendar should not display 14th and 15th again(As those dates have been previously selected!). The value of user selection will be stored in a file named 08-14-2018 and 08-15-2018 with Shekhar as input.(Remember 14 and 15 are the dates selected) So when Shekhar(unique name accross the system) logs back in, 14th and 15th august should be disabled on his calendar.

Evner: AJAX, CSS, Javascript, jQuery / Prototype, Python

Se mere: iframe avoid disable redirection, enable disable parts form microsoft access, mysql date search range event calendar, how to disable previous date in datepicker php, disable date range in jquery datepicker, how to disable past date in input type date, how to disable selected date in datepicker of jquery, disable current date in datepicker, how to disable previous dates in calendar javascript, datepicker disable past dates, jquery datepicker disable dates before today, jquery date calc, struts date picker javascript disable, java date picker disable previous days, avoid data duplication php mysql, safari jquery disable drag text select, disable date pikker jsp using javascript, avoid duplication cnet, jquery disable parent window, avoid duplication entry visual basic programming

Om arbejdsgiveren:
( 1 bedømmelse ) United States

Projekt ID: #17567078

Tildelt til:

AGHR2018

Hi there, following is updated script, with Part 1 done. Will happy to complete Part 2, once got awarded :) $(function() { var date_selected = ''; $( "#datepicker" ).datepicker({ firstDay: 0, beforeShowDay: fu Flere

$25 USD på 1 dag
(0 bedømmelser)
0.0

21 freelancere byder i gennemsnit $28 på dette job

pinesucceed01

Dear Prospective Client, As based on my initial review I can confirm its feasibility & as I am great fit technically and have good understanding of the domain & your requirement & would submit a detailed response so Flere

$25 USD på 1 dag
(2 bedømmelser)
0.0
CrazyWebGuru

Hello Sir. Thanks for your post. I have read your requirement and very interested in it. I am talented web developer from Mongolia. I have a lot of experience with jquery ,ajax ,mysql and php more than for 4 years. Flere

$35 USD på 1 dag
(25 bedømmelser)
0.0
$20 USD på 1 dag
(23 bedømmelser)
0.0
$25 USD på 1 dag
(0 bedømmelser)
0.0
doxan

Hi there. I have some questions: 1. Each file, named as selected date, will have what data? 2. File in file system is session storage? i mean that files have information about who(name user) and what is data Flere

$74 USD in 10 dage
(5 bedømmelser)
0.0
nehashahdev264

FULL STACK, experienced and efficient Web Application Developer with a wide range of development skills to serve you.

$25 USD på 1 dag
(0 bedømmelser)
0.0
$15 USD på 1 dag
(0 bedømmelser)
0.0
$35 USD på 1 dag
(0 bedømmelser)
0.0
rohitjs5

Hi Greetings!!! This is Rohit Sharma and I have 10+ years of experience in UX/UI development, I have an expertise in HTML5, CSS3, Less, Javascript, Angularjs, Node Js, Bootstrap, [login to view URL], Reactjs, JQuery, etc. Flere

$30 USD på 1 dag
(2 bedømmelser)
0.0
tushortz

I can fix this for you .

$30 USD in 3 dage
(16 bedømmelser)
0.0
Meagan26

Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer and graphic designer with a diploma in the field of web development. I have been worki Flere

$45 USD på 1 dag
(78 bedømmelser)
0.0
jratnawat510

Hi, I can fix your issue and Start immediately. I am expert web developer and having 4 years experience in Website development area. My skills including PHP, Javascript, Jquery, Ajax, HTML5, CSS3, Bootstrap, M Flere

$30 USD på 1 dag
(3 bedømmelser)
0.0
skushagra

YOU NEED ME I have recently done a project which involves disabling selected dates and disbaling the past dates also USING JQUERY. I know what u r looking for and will do your work within hours. I have experience of m Flere

$11 USD på 1 dag
(2 bedømmelser)
0.0
hamzaelaoutar

Hi I'm a software engineer/Front End Developer, I have worked on so many projects from different natures (JAVA/Javascript/JQuery/HTML/CSS...) I can definitely do this, and for a very reasonable price. Don't he Flere

$15 USD på 1 dag
(1 bedømmelse)
0.0
ferozstk

Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on this kind of project with more than 5 years [login to view URL] feel free to contact me.I am looking forward to hear Flere

$25 USD på 1 dag
(25 bedømmelser)
0.0
webcircle

I am having 10+years of experience in PHP, JAVASCRIPT/JQUERY and have worked a lot on date functionlaity. Let me know the details and I will fix the problem

$25 USD på 1 dag
(1 bedømmelse)
0.0
kningconsulting

Thank you for your job posting. I am a talented full stack web developer with rich experience of calendar for 10 years. I can do your job very quickly. If you are interested in my work, check - [login to view URL] Flere

$25 USD på 1 dag
(1 bedømmelse)
0.0
saurabhabrol5

Hello. I would like to thank you for taking enough time read my proposal. I have just checked your project post in detail. I have over 5 years experience in PHP. I believe in quality and professionalism. I am hig Flere

$30 USD på 1 dag
(6 bedømmelser)
0.0
majumderranit81

Hi there! I have more than 7 years of experience in javascript/jquery development. Please do not ignore me as a new profile. I can give you more quality work on time. Regards Ranit Majumder

$30 USD på 1 dag
(62 bedømmelser)
0.0
Ahmed818

Hello, i am very interested in this project i can do these jquery changes waiting your answer on chat Thank you

$10 USD in 0 dage
(6 bedømmelser)
0.0