Created
March 12, 2017 10:30
-
-
Save Dosant/afa4f172e3f69520fe36b09fadfc0db1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="filter"> | |
<div class="filter-item filter-date">Фильтр по дате: от: <input name="date-from" type="date" /> до: <input name="date-to" type="date" /></div> | |
<div class="filter-item filter-author">Фильтр по автору: | |
<!-- Тут хардкод. По заданию вам надо из javascript наполнять <select> Пример: http://learn.javascript.ru/form-elements#добавьте-опцию-к-селекту --> | |
<select name="author"> | |
<option value="all" selected>Все</option> | |
<option value="meduza">Meduza</option> | |
<option value="ria">Риа Новости</option> | |
<option value="sports">Sports.ru</option> | |
</select> | |
</div> | |
<input name="submit" type="button" value="Применить"></input> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment