Welcome Guest Search | Active Topics | Sign In | Register

DatePicker ClientSideOnChange Options
Menon
Posted: Monday, March 30, 2009 3:23:16 AM
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
eo_support
Posted: Monday, March 30, 2009 9:08:57 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Can you post your code?

Thanks!
Menon
Posted: Wednesday, April 1, 2009 1:45:08 AM
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
eo_support
Posted: Wednesday, April 1, 2009 8:48:31 AM
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.aspx

Your syntax for ClientSideOnChange is wrong. It takes a JavaScript function name, not JavaScript code.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.