Why cant i get the value ofthis hidden field?
I have a control...
<asp:HiddenField ID="HiddenFieldServerDateTime" runat="server" />
Which rendwrs as...
<input type="hidden" name="ctl00$cph_main$HiddenFieldServerDateTime" id="ctl00_cph_main_HiddenFieldServerDateTime" value="08/01/2010 10:54:11"
Which im tryoing to get the value of using...
var serverDateTime = $("#HiddenFieldServerDateTime").attr('value');
So whats wrong? Or am i stupid?