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

  • Home
  • SEARCH
  • 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 3669376
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:14:09+00:00 2026-05-19T02:14:09+00:00

I am currently trying to update my website with some jQuery functions. As allways

  • 0

I am currently trying to update my website with some jQuery functions. As allways with web development IE is being a pain.

I have an autosuggestion list that looks like this:

<div id="suggestionBox">
    <ul>
        <li>
            <a class="entry" style="display:block;" href="#">somesuggestion</a>
        </li>
        ...
    </ul
</div>

Of course, the suggestions are gained from a server, so I use a load() function every time the input field is changed. This works all fine.
The problem is, I want the input field to be completed when a suggestion is clicked.
I use the following code for that:

$(".entry").live('click', function() {
    $("#" + $("#suggestionBox").data('input')).val(this.text);
    //and some more stuff
});

The data field for the suggestionBox is set when the input field gets focus.

It works perfectly fine in Chrome, and FireFox but not in IE.
this.text in the above code returns undefined.

I have no clue why this shouldn’t work for IE. Can anyone help me?

Thanks.

  • 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-19T02:14:10+00:00Added an answer on May 19, 2026 at 2:14 am

    Why don’t you use jQuery?

    $(this).text()
    

    An a element has no text property in IE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently inherited a website written in Classic ASP, and am currently trying
I'm currently trying to read in an XML file, make some minor changes (alter
I'm currently trying to build a personal website to create a presence on the
I'm currently trying to get into the Java EE development with the Spring framework.
We are currently trying to optimize the performance of an ASP.NET based website which
I am currently trying to ring more performance out of my reporting website which
I currently ftp all my files to my website when i do an update
I have a classifieds website which I am now trying to integrate SOLR into,
I'm trying to update a website for a friend on the Joomla CMS. A
I'm currently trying to edit a website for a client which uses Adobe Contribute

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.