Javascript How-ToAsk your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hii Alcapone!!
by using custom date picker you can't set the values in two datecontrol boxes.
you can change the behaviour by creating a javascript function which you will need to call on click on one date picker ,this javascript function will then call a parent window function which will again set the value of other datecontrol box.
Even you can set the value from the datepicker control(popupwindow),but the problem is that for some datecontrol you may not want to set otherdate control box values and by using parent javascript function you can alter the behaviour of datevalues to other datecontrol boxes too.