|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi There,
I want to fire a Javascript function onchange in Datepicker. I tried ClientSideOnChange event but didnt work. I have Two Datepickers i want to change the Date of Second DatePicker on Change of first DatePicker. Any Suggestions would be appreciated.
Thank you
Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you post your code?
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/9/2007 Posts: 59
|
Hi,
I just want to try simple javascript eg: ClientSideOnChange="javascript:alert('test');"
If i can manage this simple javascript, which currently i am not able to. Then i would like to do further things.
Eg: on ClientSideOnChange of DatePicker1 take the Date of DatePicker1 and Add 1 day and set the date to DatePicker2.
Thanks Menon
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to take a look of this first: http://doc.essentialobjects.com/library/1/clientapi_howto.aspxYour syntax for ClientSideOnChange is wrong. It takes a JavaScript function name, not JavaScript code. Thanks
|
|