JQuery Wybierz według nazwy
element = $('input[name="element_name"]');
Busy Bat
element = $('input[name="element_name"]');
$('[name=myElementName]') //match any element with name=myElementName. i.e: <div name="myElementName"></div>
var mySelect = $('select[name=' + name + ']')
var filter_caterer = $('#filter_caterer').val();
if (filter_caterer !== '') {
url += '&filter_caterer=' + encodeURIComponent(filter_caterer);
}