Færdiggjort
jquery script to mark products unavailable
Budget $30-250 USD
Job Description:
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 ...)
Tildelt til:
$50 USD in 2 dage
(3 bedømmelser)
2.5
3 freelancere byder i gennemsnit $100 timen for dette job
$50 USD på 1 dag
(79 bedømmelser)
6.3
$200 USD in 4 dage
(26 bedømmelser)
4.9