function ClearSearchFields(searchDeliverySector) {
$('#searchDeliverySector').focus(function () {
$('span.btn-clear').show();
$('#searchDeliverySector').val('');
});
$('#searchDeliverySector').blur(function () {
$('span.btn-clear').hide();
});
}
правильно написала?