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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:43:26+00:00 2026-05-23T06:43:26+00:00

I wanted to create a drop down at a certain position based on a

  • 0
  • I wanted to create a drop down at a
    certain position based on a users
    click and
  • I wanted this to come in the form of a drop down also
  • the content in the drop down would be dynamically genereated through
    ajax..
  • im using jquery-tools tooltip to do this but am facing some problem…
  • the ajax content is loading only after the second click ..

THIS IS THE CODE TO CREATE AN ARRAY of TOOLTIP OBJECTS

    $(document).ready(function(){
         var show = false;
         var tips = new Array();
             $(".replie").each(function(){
                $(this).tooltip({ effect: 'fade', events:  {widget:'click,'},position:"bottom right",onBeforeShow:function() {
                    this.getTrigger().fadeTo("slow", 0.8);
                    }})
                tips.push($(this).tooltip(0));
                });

AND THIS IS THE CODE TO CONTROL THE TOOLTIPS BEHAVIOR AND LOAD AJAX CONTENT

    $(".replie").click(function(evt){
        if(!evt){
                    evt=window.event;
                }
            var row =evt.target.parentNode.id[2];
            var aid=evt.target.id;
            var uid= <?php echo $uid ?>;
            var tip;
            $("#tip"+row).load("reply.php?uid="+uid+"&aid="+aid,function(){
                $(this).hide()
            });

            if(tips[row].isShown)
            {
                tips[row].hide();
            }
            else
            {
                tips[row].show();
            }

        });

HOW DO I LOAD THE CONTENT AND THEN SHOW THE TOOLTIP .. ?

  • 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-23T06:43:27+00:00Added an answer on May 23, 2026 at 6:43 am

    Use jQuery.ajax() function instead of jQuery.load() function. You can set a callback function on complete or success event. Inside that handler, trigger the tooltip function.

    This is the documentation of jQuery.ajax(): http://api.jquery.com/jQuery.ajax/

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

Sidebar

Related Questions

I wanted to create static and a dynamic drop down for an online application
I am currently using jsp and I wanted to create a dynamic drop down
I wanted to create my own Python exception class, like this: class MyException(BaseException): def
how can i create a drop down list with action which allow me link
I'm trying to create a drop down select option using PHP, MySQL, and ajadx
I wanted to create an HTML page which would have a set search criterias.
Wanted to create a fun app with photo. This is the scenario: I have
I wanted to create an invitation form for user to signup. But the signup
Let's say I woke up today and wanted to create a clone of StackOverflow.com,
I wanted to show the users Name Address (see www.ipchicken.com ), but the only

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.