ASP.NET - How to get value of textbox at cleintside in

Asked By sanket patil on 21-Mar-13 02:08 AM
hi, friends, i m not getting value of textbox at cleintside when i put <scriptmanager> tag inside <form> tag in IE 9 browser. i have done following code.

<script language="javascript" type="text/javascript">

$(document).ready(function () {

document.getElementById('<%=txtPickDate.ClientID%>').value = 'sanket';




<body class="bdy_home">

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">


<div style="margin-left: 42px; margin-bottom: -20px">

<label>Pickup Date</label>


<div style="margin-bottom: 30px">

<div class="ui-widget">


<asp:TextBox ID="txtPickupdate_local" runat="server" CssClass="txtPickDate" onkeydown="return isNumberKey(event,this)"

TabIndex="8" onchange="CheckTime();"></asp:TextBox>



When i run above code, i m getting following error.
Unable to set value of the property 'value': object is null or undefined

but it's working in all browser except ie9 browser. plz, helped me out.