I\'m trying to add a css class to a textbox. This is what I have in my view:
<%: Html.EditorFor(m => m.StartDate) %>
I tried follo
I guess a quick and dirty way to do this would be in jQuery, yes?
$(document).ready(function () { $('#StartDate').addClass('datepicker'); });