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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:20:50+00:00 2026-06-06T10:20:50+00:00

I am finding the selected jquery tab ui element using the following: $(li.ui-tabs-selected).attr(id) This

  • 0

I am finding the selected jquery tab ui element using the following:

$("li.ui-tabs-selected").attr("id")

This might return something like:

tab_48

Within the tab_48 html tag, I have an anchor tag, so maybe

<a href="#ui-tabs-4">some content here</a>

Putting that all together, HTML might look something like this:

<li id="tab_48">
    <a href="#ui-tabs-4">
        some content here
    </a>
</li>

How do I get the href of the anchor tag, now that I can get the id of the selected tab via:

$("li.ui-tabs-selected").attr("id")
  • 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-06T10:20:51+00:00Added an answer on June 6, 2026 at 10:20 am
    $("li.ui-tabs-selected a").attr("href")
    

    or

    $("li.ui-tabs-selected").find("a").attr("href")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm finding it difficult to find examples of using jQuery, so my bad for
I am trying to set the selected value in a dropdownlist using jquery, I
I am having trouble finding an answer to this. Consider the clipping code below:
I'm having trouble finding a way to do this in a way that doesn't
I have been finding ways around this for a long time but think it's
I tried finding a maintained or tested plugin for jquery that allows me to
Using Bootstrap's typeahead javascript plugin, I'm attempting to change the data-source attribute via jQuery's
Hi I have a select like: <select id=item_OfficeUserId class=dropdownauditor name=item.OfficeUserId invoicelineid=33> In jQuery I
I have a standard com.sun.lwuit.list . I can get the selected item using methods
When trying to search for this specific thing I'd like to do, I end

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.