I was wondering if was there some way to do a rule for all id who end by "At", so that would choose automatically all my datetime input id going from there monthly_startAt to medicines_startAt so that would make our websites more autonomous about the pick and then be reducing the code wrote from us.
<script>
$("#monthly_startAt").datepicker({
inline: true
})
$("#daily_endAt").datepicker({
inline: true
})
$("#monthlyo_paidAt").datepicker({
inline: true
})
</script>
To just one line like for example
<script>
$(allHowEndWith -> "#At").datepicker({
inline: true
})
</script>