Custom Controls & Javascript
- From: "Steve" <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 11:36:20 -0700
I have created a Custom Control and I need to populate 2 fields with data
that I am grabbing from a control on the parent form. I need to use
Javascript to grab the data on the parent form & populate the data in the
custom control. The code that I have below get's the data but can't find the
control on the custom control. Any ideas or proper direction would be
appreciated.
sFName=document.Form1.fldFName.value;
var NameField = document.getElementById(fldQFName);
NameField.value = sFName;
Thanks!
Steve.
.
- Follow-Ups:
- Re: Custom Controls & Javascript
- From: Brock Allen
- Re: Custom Controls & Javascript
- Prev by Date: Re: hiddenfield / htmlInputHidden ?
- Next by Date: Re: DataGrid with edititemtemplate
- Previous by thread: Event Handling Question
- Next by thread: Re: Custom Controls & Javascript
- Index(es):
Loading