I am setting into a form a date picker, all is fine, but after i click submit i want the date picker to empty out using jquery, but setting its val to “” isnt working
Just checked the source and this is how the above outputs onto the page
<p class="text textSizeStandard title">Date</p>
<input class="text-box single-line" data-val="true" data-val-date="The field DateTime must be a date." id="DateTime" name="DateTime" type="date" value="" />
And yes I can see the id is actually set to DateTime and not txtDateTime, would that be my issue