php - How to put link on each month in input( type month)
one text
Solution:
Actualy figured it out, for anyone who need to use it here:
<input type="month" id="month" >
<script>
$(function() {
// bind change event to select
$('#month').on('change', function() {
var url = $(this).val(); // get selected value
if (url) { // require a URL
window.location = "filesall.php?date="+url; // redirect
}
return false;
});
});
</script>
Source