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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:18:41+00:00 2026-05-18T20:18:41+00:00

here is my case: <html> <body> <head> … <script> $(function(){ $(‘.do-tip’).qtip({ content: ‘This is

  • 0
here is my case:

    <html>
    <body>
    <head>
    ...
    <script>
 $(function(){
        $('.do-tip').qtip({
            content: 'This is a tip of active hovered element',
            show: 'mouseover',
            hide: 'mouseout',
  })
 });
    </script>
    </head>
    <body>
    <a href="http://www.google.com" class="do-tip">google</a>

    <input type="button" value="load div by ajax" />
    <div> <!-- this div loaded by ajax -->
    <div>
    <a href="http://www.yahoo.com" class="do-tip">yahoo</a> <!-- HOW TO HERE, run the existing script only for this part, JQUERY UNCLE must have a solution-->
    </body>
    </html>

any ideas?
  • 1 1 Answer
  • 1 View
  • 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-18T20:18:41+00:00Added an answer on May 18, 2026 at 8:18 pm

    While it is not perfectly clear what you are trying to do, I will try my MagicGuess tool and offer you an answer.

    So, you need to

    a) perform some functionality on document load; this functionality does something with all .do-tip elements on the page

    b) perform the same functionality after you load something via AJAX, but now this needs to operate with another set of elements.

    Is that true? If so, here is what I would do:

    function doEverythingINeed(selector) {
        $(selector).qtip({
            content: 'This is a tip of active hovered element',
            show: 'mouseover',
            hide: 'mouseout',
        })
    
    }
    
    $(function() {
        doEverythingINeed('.do-tip');
    });
    

    and call doEverythingINeed with another selector after you load your HTML via AJAX. If you use $.ajax() function, then you should just do

    $.ajax({
        //parameters
        success: function() {
            //some other actions if needed
            doEverythingINeed('your selector');
            //more actions if needed
        }
    });
    

    Hope that helps!

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

Sidebar

Related Questions

here is my case: <html> <body> <head> ... <script> $(function(){ $('.do-tip').qtip({ content: 'This is
Here is a complete test case: <!DOCTYPE html> <html> <head> <title>test</title> <style type=text/css> html,
Given this pared-down test case: <!DOCTYPE html> <html><head><title>No Underline Please</title> <style type=text/css> li {
Here is the scenario: I Have 3 files: index.php : <html><head> <script type=text/javascript src=../jquery.js></script>
I have a HTML file that contains only the basic elements (html, head, body,
I'm trying to understand this bit of code: in display.php: <html> ... <body> <table>
<html xmlns=http://www.w3.org/1999/xhtml xml:lang=en lang=en> <head> <meta http-equiv=content-type content=text/html; charset=iso-8859-1 /> <meta name=author content=bbbbb />
For example (in my case) here's some code, <?php woo_post_inside_before(); if ( $woo_options['woo_post_content'] !=
I'm just going to throw all my code in here in case there's something
Here is the case. User should be able to open MS Word document which

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.