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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:04:35+00:00 2026-06-03T20:04:35+00:00

i have the following setup <div class=article-content> <div class=’editors’ id=mine> <h2>My Text</h2> <textarea name=my_text

  • 0

i have the following setup

<div class="article-content">
    <div class='editors' id="mine">
        <h2>My Text</h2>
        <textarea name="my_text" id="my_text" class="my_test"></textarea>
    </div>
    <div class='editors' id="termsy_master" style="display:none;">
        <h2>title</h2>
        <textarea name="" id="" class="sm">text</textarea>
        <textarea name="" id="" class="di">text</textarea>
    </div>
</div>

im trying to

  • clone “termsy_master”
  • change the id to “his”
  • change the h2 title to “new title”
  • textarea sm id to “sm_new_id”
  • textarea di id to “di_new_id”
  • remove display none so it’ll be visible
  • and append it to article-content

i have the following already done, but im not sure how to proceed

$('.article-content').append($("#termsy_master").clone());
  • 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-03T20:04:37+00:00Added an answer on June 3, 2026 at 8:04 pm
    $tmc = $("#termsy_master").clone().attr('id', 'his').show();
    $("h2", $tmc).text('new title');
    $(".sm", $tmc).attr('id', 'sm_new_id');
    $(".di", $tmc).attr('id', 'di_new_id');
    $tmc.appendTo(".article-content");
    

    There are lots of ways you could do it of course, but this seems to be more or less the simplest to me. Don’t overthink!

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

Sidebar

Related Questions

I have following models setup in my Django application class School(models.Model): name = models.TextField()
I have the following ul setup: <div id=sidebar> <ul id=themenu class=sf-menu sf-vertical> <li> <a
I have following setup: .calender-month{ float:left; } .buttondiv{ float:left; } <div class=buttondiv><button id=backbtn>back</button> <div
I have the following setup: <div>Element with CSS3 animated height change</div> <div><a href=#>Link</a></div> I
I have the following setup, and the empty view text doesn't show up... protected
I have this following setup, a textarea named with some data in it that
I have the following title div setup, but when only the leftmost div has
I have the following set up: <div class=click red></div> <div class=click green></div> <div class=click
Ok... I have the following setup: A div with n divs as children (n
I have following setup: html: <div id=holder> <div> <img/> <img/> </div> </div> css #holder

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.