S
sarunnio
Hi,
I 've tried to work around with this long times ago.
I have a template and the page loaded inside.
When loading the page,the control ID contained with the page
will be automatically generated by ASP.NET as shown below
<input name="_PageTemplate:BodyPlaceHolder:txtEndDate"
id="_PageTemplate_BodyPlaceHolder_txtEndDate" type="hidden" value="15
May 2005 23:59:59" />
How could I use javascript to grab data from each control.
I can't access it through "document.form.txtEndDate.value"
Because, It said txtEndDate is undefined.
Any idea would be appreciated!
Regards
I 've tried to work around with this long times ago.
I have a template and the page loaded inside.
When loading the page,the control ID contained with the page
will be automatically generated by ASP.NET as shown below
<input name="_PageTemplate:BodyPlaceHolder:txtEndDate"
id="_PageTemplate_BodyPlaceHolder_txtEndDate" type="hidden" value="15
May 2005 23:59:59" />
How could I use javascript to grab data from each control.
I can't access it through "document.form.txtEndDate.value"
Because, It said txtEndDate is undefined.
Any idea would be appreciated!
Regards