Open thiagojulio opened 6 years ago
$('#descricao_grupo-flexdatalist').keypress(function(e){ console.log('keypress'); if (e.which == 13) { console.log('enter'); if($(this).val().match(/[*]/g)){ console.log('saved'); }; $("#salvar_grupo").click(); }; });
thk;
I'm trying to do the following event:
When the user types , be registered in the database. (if is the first letter)
But the event is blocked because the search appears.
how to make it not search if you have in the text? (if is the first letter)
thk;