par two3d » 02 mars 2021, 14:21
$("#autocomplete-5").autocomplete({ source: function (request, response){ $.ajax({ url: "nom.php", dataType: "json", data:{ term: request.term }, type: 'POST', success: function (data){ response($.map(data, function (item){ return{ label: "Nom: " + item.label + ", value: " + item.value, value: function (){ return item.label+' '+item.value; } } })); }, error: function(data){ console.log("erreur"); } }); }, minLength: 2, delay: 500 });
par or 1 » 02 mars 2021, 13:04
par two3d » 02 mars 2021, 13:01
par bignono1639 » 02 mars 2021, 12:55
par or 1 » 02 mars 2021, 12:42
par bignono1639 » 02 mars 2021, 03:06
par or 1 » 01 mars 2021, 21:09
par bignono1639 » 01 mars 2021, 20:58
par two3d » 01 mars 2021, 12:09
par Ryle » 01 mars 2021, 11:41
par two3d » 28 févr. 2021, 18:51
par bignono1639 » 28 févr. 2021, 18:45
par two3d » 28 févr. 2021, 18:21
par bignono1639 » 28 févr. 2021, 17:46
par two3d » 27 févr. 2021, 14:28
if ( strpos( strtoupper($companyLabel), strtoupper($term) )!== false ) { if ( strpos( $companyLabel, strtoupper($term) )!== false ) {