Sitemap

(function ($) { const $searchForms = $('form[role="search"].hi-sf'); $.each($searchForms, function (index, searchForm) { const $searchForm = $(searchForm); const label = $searchForm.find('.hi-sf__lab').text(); $searchForm.find('.hi-sf__in').attr('placeholder', label); }); }(jQuery));