$(function() { // 現在日時 var current = new Date(); // 年 var year_val = current.getFullYear(); // 月 0(1月)~11(12月) var month_val = current.getMonth() + 1; // 日 var day_val = current.getDate(); // デフォルト $('select[name=year] option[value=' + year_val + ']').prop('selected', true); $('select[name=month] option[value=' + month_val + ']').prop('selected', true); $('select[name=day] option[value=' + day_val