Open autoexpert opened 1 year ago
if input already filled how i can clare after on click $('#my_input_id__search-flexdatalist').on('click', function () { alert('test'); }); $('#my_input_id').on('click', function () { alert('test'); }); don't work help me please
solution
$(document).on ("click", "#my_input_id-flexdatalist", function () { $(this).val(''); });
if input already filled how i can clare after on click $('#my_input_id__search-flexdatalist').on('click', function () { alert('test'); }); $('#my_input_id').on('click', function () { alert('test'); }); don't work help me please