Pro JSPAdvanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro JSP section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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