In any case, can I detect autocomplete BEFORE the user selects an option from the drop-down list?
Expected: 400010as seen.
400010
I currently have:
$('input').on('input paste change keyup', function(event) { if(event.type=='input'){ console.log( $(this).val() ); } });
.. and it works AFTER the user has made a choice, but not earlier, as shown in the screenshot above.
, . , , , , , . : , , , , .. AJAX, , , .
, .
:
$(document).ready( function (event) { $('.ddClass').on('mouseenter', 'option', function(e) { $("#zipcode").val(this.value); ); });
// .ddClass -
Source: https://habr.com/ru/post/1568267/More articles:How does Marathon limit resources to directly called applications? - mesosHandling database errors to collect multiple collections - jqueryAssertionError Unable to filter query after slice has been done - pythonButton with link inside bootstrap accordion table - javascriptOpen Refine - Add another file to an existing project - csvHibernate saveorupdateall does not save is not an update - springClient-side validation check not working - phpRequiring a primary key in raw SQL complicates a query in Django - sqlparamiko connect not working due to BadHostKeyException exception - pythonHow to enable lodash / underscore on a website with conflicting libraries? - javascriptAll Articles