I hope they are fine. My input type="date" in html doesn't work in safari.
<form action="reporte.php" method="POST">
<td>Fecha Inicial:</td>
<td><input type='date' name='datoss' class="bot"></td>
<td>Fecha Final:</td>
<td><input type='date' name='datoss1' class="bot"></td>
<td><input type="submit" id="consul" class="client" value="Exportar">
</form>
In google chrome the same input displays a calendar and not in safari.
How can I make them work in safari?
Greetings.
I am afraid that Safari does not have an implemented UI for the
<input type="date">
, so even if they are compatible (the browser will not give you any errors and you will be able to use them to retrieve data and insert data) nothing will be displayed when you press them.It is preferable to use an external library, because in addition to providing better compatibility, you get rid of the problem that each browser renders this type of field in its own way.
I recommend you
datepicker
from JQueryUI .References: input date , datepicker