Фильтр Jquery Отображаются только выбранные из них Страница обновления

#jquery #filter

#jquery #Фильтр

Вопрос:

При перезагрузке страницы,

в списке должны быть указаны только выбранные

как я могу это сделать ?

Вы можете отредактировать этот список. [Кодовое имя][1]

 lt;select id="sort-recruiters"gt;  lt;option value="All"gt;All Placeslt;/optiongt;  lt;option value="GA" selectedgt;Georgialt;/optiongt;  lt;/selectgt;  $('select#sort-recruiters').change(function() {  var filter = $(this).val();  filterList(filter); }); function filterList(value) {  var list = $(".recruiter .recruiter-info");  $(list).hide();  if (value == "All") {  $(".recruiter").find("article").each(function (i) {  $(this).show();  });  } else {  $(".recruiter").find("article[data-custom-type*="   value   "]").each(function (i) {  $(this).show();  });  } }```    [1]: https://codepen.io/deangilewicz/pen/LEgVOd