When using an ascx page, I use a textbox input as follows:
<asp:TextBox id="txtDate" runat="server" Width="130px"></asp:TextBox>
I want to use javascript to access this textbox, but when it posts to a browser, it gives some wierd id to the textbox, like:
<input name="_ctl0:txtDate" type="text" id="_ctl0_txtDate" style="width:130px;" />
So is there anyway to access this field from javascript?
Thanks,
Leon.
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/