<input name="..." value="...">
<script>
$(document).ready(function(){
$("#status").click(function () {
$(".s").val($(this).attr("data-2"));
});
});
</script>
<form action="" id="test">
<input type="text" class="s" name="" value="">
<input type="submit">
</form>
<ul>
<li id="status" data-name="d" data-val="2">Paragraph</li>
</ul>
<div class="filter__item"><img src="img/icons/icon__loop--big.png" width="" height="" title="" alt="" class="icon__image"></div>