Jump to content

Recommended Posts

Hi Guys,

 

I am creating a page on my website that allows people to book a meeting room. I have a small calendar for them to select a date and at the moment have a drop down box that allows them to select an hour time slot between 9-5.

 

What I would like to happen is that once the user has selected a date an image will appear showing the hourly time slots for that day, in green if they are available or red if they are not. I image I would have to use a number of If statements to show the green box if time not selected and red if date is already selected.

 

How do I get an image to appear once the user has selected the date??

 

Is this approach possible or am I being to adventurous?!

 

Any advice or help before i get started on this would be brilliant.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/90275-image-to-appear-onclick/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.