Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

127
Visualizações
How to trigger autocomplete select event in jquery with the first item

Here I am scripting a web scrap in winform using cefsharp. I need to trigger a autocomplete select event whenever an autocomplete open event occurs.

The actual method which was in the web page is

$('.tb').on('autocompleteselect', function (e, ui) {
        console.log(ui.item.value);
});

The ui.item.value is printing on the console exactly. But in the following method

$('.tb').bind( 'autocompleteopen', function(e, ui) {
                $('.HiddenSearchId').val(ui.item.value);
                $('.HiddenSearchBtn').click();
                });

But on that ui.item.value is not getting. How do I get the first suggested ui.item.value from the autocomplete list. Following by I need to trigger a click event. Either I need to get the UI VALUE in autocompleteopen or I need to trigger the autocomplete select with the first element.any help appreciated.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda