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 931573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:31:31+00:00 2026-05-15T20:31:31+00:00

I’m doing something that involves ajax auto-completion of phrases in a <textarea> . I’ve

  • 0

I’m doing something that involves ajax auto-completion of phrases in a <textarea>. I’ve got this working well using the jquery autocomplete plugin; however, it is hard-coded into this to position the popup below the <textarea>.

For what I’m working on, the <textarea> is at the bottom of the page; I ideally want the options to appear above the <textarea>.

Is there a similar existing (and half-decent) autocomplete script that would allow this? My other options are:

  • try to reposition it after-the-fact using more jquery
  • hack the plugin code to pieces to reposition it
  • write something from scratch (sounds simple, but there are a few nuances in a decent autocomplete)

Suggestions?


For info, here’s what I ended up with:

#known-parent .ac_results 
{
    position: fixed !important;
    top: auto !important;
    bottom: 80px !important;
}
  • 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-15T20:31:31+00:00Added an answer on May 15, 2026 at 8:31 pm

    It’s not the cleanest solution in the world, but you can overwrite the style properties that the autocomplete plugin writes by using “!important” in your css.

    Styles belong in CSS as much as possible anyways.

    If I remember correctly, the plugin sets the “top” value in the “style” attribute of the autosuggest div.

    In your css you should be able to just do:

    #whatever_the_id_of_the_box_is {
        position: absolute !important;
        top: {{ whatever value you want here }} !important;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.