hbfaither
Posts: 15
|
| Posted: 10/03/2007, 8:30 AM |
|
Hi,
I am trying to make the datepicker visible or invisible with control field called "DatePicker_date_due" set as readonly. I have set up an onchange event for a field called "task_ref". When the user changes this field I want to make datepicker either visible or invisible so the field DatePicker_date-due can/cannot be modified.
The error message is:
"ERROR 'document.forms.AMTTS_Task_Data.DatePicker_date_due' is null or not an object".
Here is the javascript code:
document.forms["AMTTS_Task_Data"].DatePicker_date_due.visible = true;}
thanks for any assistance
|
 |
 |
hbfaither
Posts: 15
|
| Posted: 10/03/2007, 10:38 AM |
|
got it..by using <div> getElementById
|
 |
 |
|