目次 |
---|
・<input type="month"> ・monthをサブミットする ・max,min属性を指定する |
<input type="month" />
<form action="sample.php" method="POST" target="_blank"> <input type="month" name="monthData" /> <input type="submit" /> </form>
<form action="sample.php" method="POST" target="_blank"> <input type="month" name="monthData" min="2011-01" max="2015-12" /> <input type="submit" /> </form>