Hi In my View I'm using jquery ui datapicker. So I need initiate it with code like this
$(function() {
$('#elementID').datepicker({
});
});
In my View
<%= Html.TextBoxFor(m=>m.StartDate) %>
In old ASP.NET I may use
tb_startDate.ClientID
What is about retrieving element Id of Strongly Typed ASP.NET MVC HTML Helper? Is is possible?