View Single Post
  #1 (permalink)  
Old November 20th, 2005, 09:55 PM
danieljava danieljava is offline
Registered User
 
Join Date: Nov 2005
Location: Fort Laudedale, Florida, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to danieljava
Default Working with Forms and Date in Javascript

Hello everyone:

I am creating a form in which the user select the Order Date

1) The date is selected from a dropdown boxes MM/DD/YYYY
1.1) So far the validation for Date is working
---------------------------------------------------------------------


3) WHAT IS PENDING IS HOW TO WORK WITH DATE:

Controlling Five bussines days which will be Monday through Friday.

3.A) The user works Mon-Fri;therefore, he/she will select any days

This is only an example.The user decided to choose a date, for example: 11/18/2005. The user hit the SUBMIT button and the javascripot should be able to control the following task:


3.A.1) The javascript should be able to add 5 bussines days not including Saturday or Sunday

11/19/2005 - this is Saturday and it can not to be included
11/20/2005 - this is Sunday and it can not to be included
11/21/2005
11/22/2005
11/23/2005
11/24/2005
11/25/2005 - this is the date that is going to show in the order




Any help or sample that I can get good ideas, it will be appreciate


Thanks to all for your time and HappyThanksgiving


Daniel

Daniel Java
bufon1108@yahoo.com
Reply With Quote