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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:28:35+00:00 2026-06-04T00:28:35+00:00

I want to insert one object like $(‘<p>Test</p>’).prependTo(‘#TB_window’); just whenever #TB_window object is created.

  • 0

I want to insert one object like $('<p>Test</p>').prependTo('#TB_window'); just whenever #TB_window object is created.

How it can be made after the creation of a thickbox?

I want to use that in the wordpress site http://hogdal.dk/?p=60

Just see the pictures in the gallery.

I am using wordpress default thickbox.

  • 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-04T00:28:37+00:00Added an answer on June 4, 2026 at 12:28 am

    How about this:

    http://jsfiddle.net/zerkms/YZwRu/

    $(document).on('DOMNodeInserted', function(event) {
        var $target = $(event.target);
    
        if ($target.is('#TB_window')) {
            $target.append('<p>Test</p>');
        }
    });
    
    $('body').append('<p>a</p>');
    $('body').append('<p id="TB_window">b</p>');
    $('body').append('<p>c</p>');
    ​
    

    In this example we use DOMNodeInserted event, which is triggered when another node is inserted into document. After that we check if that element has the required id, and if so – append new node to it

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

Sidebar

Related Questions

EntityManager.merge() can insert new objects and update existing ones. Why would one want to
I have 2 textBox and 1 button! I want to insert text to one
I want to combine these two queries into one: mysql_query(INSERT INTO categories (name, parent)
I want to insert a vector into a set like this: set<vector<prmEdge> > cammini;
I want to convert a list object into a string and insert this string
I'm a beginner with MyBatis. I just want to know how to insert a
I have a query that returns one row. However, I want to invert the
I want to insert a group box in the form and put in 3
I want to insert the following as the value for a variable in some
I want to insert a row into the Database using SqlDataAdapter. I've 2 tables

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.