CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 reference datepicker from javascript

Print topic Send  topic

Author Message
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
View profile  Send private message
hbfaither

Posts: 15
Posted: 10/03/2007, 10:38 AM

got it..by using <div> getElementById
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.