Reputation: 11725
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.
Upvotes: 0
Views: 35