jquery script to mark products unavailable

This is a website for booking hotel room

The javascript already contains an array of arrays giving the number of rooms available per day of each room type

the code required is

1. for a given set of dates (arrival - departure) calculate the number of rooms available during the period (ie. the minimum number of available rooms in the period)

2. get the number of each type of room already selected ( this is already present, but must be extracted into a method)

3. Mark each room type in the room type selector as unavailable by adding/removing a class.

4. Short circuit the select room function if the room is unavailable (if this has class unavailable return false ...)

Evner: HTML, Javascript, jQuery / Prototype

Se mere: this class jquery, jquery class, jquery 2.1 0, jquery 2, jquery 1.9, jquery dates, short script, short circuit, products adding, mark, jquery script, hotel script, hotel room booking website, Arrays, number selector javascript, required jquery, jquery hotel room booking, jquery booking hotel room, booking html code website, html javascript calculate, hotel booking website code, period dates, jquery products, array javascript, script code html

Om arbejdsgiveren:
( 30 bedømmelser ) Bruvik, Norway

Projekt ID: #965704

Tildelt til:


Ready to start.

$50 USD in 2 dage
(3 bedømmelser)

4 freelancere byder i gennemsnit $90 på dette job


lets do it ..........

$50 USD på 1 dag
(79 bedømmelser)

please check pmb for further details

$200 USD in 4 dage
(26 bedømmelser)

Can't send you demo, but I'm sure and hope can tell you, I have the ability to finish it for you. Thanks & best regards.

$60 USD på 1 dag
(4 bedømmelser)