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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:32:30+00:00 2026-05-27T22:32:30+00:00

i am using cluetip jquery plugin and i show a popup with some html

  • 0

i am using cluetip jquery plugin and i show a popup with some html (using local source hidden div). I now have some jquery that wants to change one icon with another and i have the following code:

 var img = "#mySelector";
 $(img).attr("src", "/content/images/ajax-loader.gif");

this works fine when this image is on the regular page but when its inside a popup, the image doesn’t change. Is there any way to change the html on a tooltip popup while it is up in cluetip jquery plugin?

I know that the selector is correct because, I also have this line:

 var img = "#mySelector";
 var currentSrc = $(img).attr("src");

and currentSrc reads the current string.

NOTE:

Also, in firebug when i look at

 var currentSrc = $(img).attr("src");

AFTER i change the source to

/content/images/ajax-loader.gif

it does read:

 /content/images/ajax-loader.gif

so it looks like the code is working but the image is simply not changing .. .

  • 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-27T22:32:31+00:00Added an answer on May 27, 2026 at 10:32 pm

    Looking at the clueTip options, you probably want to set a handler for either onActivate() or onShow() so you can make the image URL change at the appropriate time.

    Edit: Since you’ve edited your post to show that the .src is actually changing, then the only possible explanations are:

    1. You’re changing the wrong object
    2. The .src value is the wrong/bad URL
    3. Some other piece of code is changing the URL back again.

    The most likely would be that you’re changing the wrong object and the most likely way that could happen is if you have the wrong ID value or if you have more than one object with that ID.

    There should only ever be one object with a given ID and if there are more than one, a selector using that ID will probably only return the first one with that ID – though that is not a behavior which should be relied upon.

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

Sidebar

Related Questions

I'm using the cluetip plugin together with the jQuery FullCalendar to show event details
I am using jquery tooltip plugin cluetip that is small or very big depending
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
i am using jquery cluetip and it works great. I have it in sticky
Using Bootstrap's typeahead javascript plugin, I'm attempting to change the data-source attribute via jQuery's
I m havin a jqueryui modal form. and i m using jquery cluetip tool
I want to use the hover feature of cluetip jquery plugin . I am
I am using cluetip to show a tooltip when a user hovers over a
i am using the cluetip plugin and the simple use case is to to
Using report builder 3.0, I have a report that queries a cube. How do

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.