Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7399407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:03:25+00:00 2026-05-29T04:03:25+00:00

I have an autocomplete search form, more or less like the one used on

  • 0

I have an autocomplete search form, more or less like the one used on facebook, where I start typing and a list of names shows up.
I made links of each of these names so you can open their profile page.
I also have a function on the search form’s input field ‘onblur’, where I hide the autocomplete div with all the names. So that when I click outside it, it doesn’t stay visible. The only problem now is that when I click one of the names, the pages doesn’t redirect to the profile page of the anchor tag, even though the cursor does change on hover.

Anybody any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:03:26+00:00Added an answer on May 29, 2026 at 4:03 am

    This is because your hide event removes the list before the element can actually be clicked. There are couple of solutions.

    First you could use a setTimeout to hide

    setTimeout( function() { /* hide list */ }, 500);
    

    In answer to your comment, no, you can’t reorder events. So you will have to find a work around. There are a number of methods, but since you are using jQuery I would do it this way.

    //you probably have something like this currently
    $('element').blur( function() { $('results').hide(); });    
    
    //change it to something like this
    $('element').blur( function() { $('results').fadeOut(300); }); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im currently developing an webapplication that are going to have an Autocomplete search form,
I have a form in CakePHP that has two live-search text input. Each one
I'm using 'rails3-jquery-autocomplete' gem, but it doesn't have multi column search, but there is
I have a autocomplete textbox, in that textbox am getting employee names. If I
I have a search form tied to a backing bean that contains 4 input
I have a search box on my site that uses autocomplete to give suggestions,
To be specific I have a search form with an autocompleteextender at the top.
I have a form on my website which forwards the textbox input to www.google.com/search?q=...
My Normal search in the activescaffold list page is not working. I have ListLocations
I have a site with a form with autocomplete using jquery. It works fine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.