jquery error for Editor
enter code here
I am having the following code in my view
@Html.EditrFor(m=>m.Date1)
@Html.EditrFor(m=>m.Date2)
In my jquery I am having
var test = $("#Date1").Val();
var test1 = $("#Date2").Val();
开发者_高级运维
But its giving me errors and it
s not able top read the Date1 and Date2 Values.
you are using captial V.
replace Val
with val
精彩评论