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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:17:12+00:00 2026-06-15T12:17:12+00:00

On click li element i am getting the current element value and appending it

  • 0

On click li element i am getting the current element value and appending it into another div dynamically.Its working fine in all browsers.But returning null in IE7.I don`t the reason that why its happening?Please can any one give me a solution for this..Part of the code only i pasted here.

Sample code:
////////////.//This line returning null in IE7./////////////////

 $('#pagelink_a #pagelinkli_'+tab_lastid_val).html()

  (tab_lastid_val value can be a 1 or 2 or 3.Clixked li element value comes here)



    <div class="pagelink">
          <div id="pagelink_a">
       <ul>
           /******** all li element are clickable***********/
           <li id="pagelinkli_1"><a>Google</a></li>
           <li id="pagelinkli_2"><a>Chrome</a></li>
           <li id="pagelinkli_3"><a>Firefox</a></li>
       </ul>
    </div>
</div?
  • 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-06-15T12:17:14+00:00Added an answer on June 15, 2026 at 12:17 pm

    try this:

     $('#pagelink_a').find('li[id=pagelinkli_'+tab_lastid_val']').html();
    

    code is not tested but i think it should work.

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

Sidebar

Related Questions

I have a div which is getting hidden/displayed by a click on another element.
I’ve got a function that appends a <div> to an element on click. The
I'm getting a JSON element and building a list from its items like this:
In a jQuery function I am getting event on form's element click event. Now
When I click an element from list, jQuery get class from clicked element and
I have the following click event $(.element).click(function() { var idNum = $(this).getID; $('#new-'+idNum).fadeIn(); });
I use something like this to click an element on a page by condition:
Is there a way to click through element, even if it's on top of
I'm looking for solution to get time to click on element using implicitlyWait in
On iPhone and Android, when you click an element, the element temporarily selects and

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.