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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:56:54+00:00 2026-05-24T06:56:54+00:00

I got many qtips in a form with lets like this : $(‘.selector’).qtip({ content:

  • 0

I got many qtips in a form with lets like this :

$('.selector').qtip({
   content: {
      text: function(api) {
         // Retrieve content from custom attribute of the $('.selector') elements.
         return $(this).attr('qtip-content');
      }
   }
});

I dont want to add all qtips separately as it will create many javascript events which i dont like to do.

I got my html something like this i think it will make easy to answer my question:

<tr>
    <td>
    Main Alliase/Current Alliase:
    </td>
    <td><input type="text" id="maina"/>
    </td>
        <td id="handle-1" qtip-content="ToolTip's content here" class="selector">?</td>
    <td><div id="error-1" class="errors"></div></td>
    </tr>

Now what i want is that when i focus into the #maina it it changes the state of the qtip corresponding class selector.

But when i use this :

$('.selector').qtip('toggle', true);

this as of course toogles every tooltip related to it

How can i achieve my aim ?

  • 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-24T06:56:55+00:00Added an answer on May 24, 2026 at 6:56 am

    This might help:

    $("#maina").bind("focus", function () {
        $(this).closest("tr").find(".selector").qtip('toggle', true);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got many user controls like this: PageManageCustomers.xaml.cs: public partial class PageManageCustomers : BasePage
I've got many files with variables in them like {$var1} some text {$var2} some
I've got many, many mp3 files that I would like to merge into a
I think this should be easy, but it's evading me. I've got a many-to-many
I've got a class with many string arrays. I'd like to have one generic
I got many panels and one form. I have employed panels so I don't
After pre-compiled a ASP.NET web site, I got many files with the names like
I got many exceptions like: Error 95 The type or namespace name 'Web' does
I got many answers for this when I Googled How to find factorial of
When compiling the following instruction: movl 4(%ebp), 8(%ebp) I got: too many memory reference

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.