Zcumbag
December 19th, 2006, 03:17 AM
Hi.
I'm currently trying to create a form that consists of a number of textboxes. One of these textboxes i plan to hold the current time offset to the UTC. I have the javascript code to do this. What I haven't figured out is how to get this value inte the textbox?
<asp:TextBox runat="server" Text="<%= Response.Write('javascript:getClientTime();')%>"></asp:TextBox>
is one of example of what doesn't work.
Any ideas?
Thanks!
I'm currently trying to create a form that consists of a number of textboxes. One of these textboxes i plan to hold the current time offset to the UTC. I have the javascript code to do this. What I haven't figured out is how to get this value inte the textbox?
<asp:TextBox runat="server" Text="<%= Response.Write('javascript:getClientTime();')%>"></asp:TextBox>
is one of example of what doesn't work.
Any ideas?
Thanks!