i m using html5 time attribute ; like this
<input type="time" class="inputDateFromTo" id="time" />
it is showing time in 24 hrs format ; but i want it in 12 hrs format with am/pm, ex "4.30 PM"
please suggest me the code using simple javascript or pattern attribute