I have a datepicker textbox as below:
<input type="text" id="txtdob" class="datepicker" style="width:154px"/>
I am not able to pass the value from this datepicker to my database table.Everything works fine so i am not going to post the entire code here.I am passing the value as below:
cmd.Parameters.AddWithValue("@DOB", txtdob.value);
But it says could not find txtdob.Any help will be appreciated.