# Clone an Element Using jQuery Clone doesn't Submit

**URL:** <https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831>\
**Category:** General\
**Created:** [February 5, 2018, 5:07am UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831 "2018-02-05T05:07:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![m77marilyn](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/m77marilyn/32/160687_2.png) [@m77marilyn](https://forum.freecodecamp.org/u/m77marilyn)\
**Post date:** [February 5, 2018, 5:07am UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831/1 "2018-02-05T05:07:09Z")

</div>

It won’t let me submit.

It shows this:

x A copy of your target5 element should also be inside your left-well.

What is wrong?

Thanks for your help!  
Marilyn

**Your code so far**

```auto
<script>
  $(document).ready(function() {
    $("#target1").css("color", "red");
    $("#target1").prop("disabled", true);
    $("#target4").remove();
    $("#target2").appendTo("#right-well");
    $("#target5").clone().appendTo("leftwell");
  });
</script>

<!-- Only change code above this line. -->

<div class="container-fluid">
  <h3 class="text-primary text-center">jQuery Playground</h3>
  <div class="row">
    <div class="col-xs-6">
      <h4>#left-well</h4>
      <div class="well" id="left-well">
        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>
      </div>
    </div>
    <div class="col-xs-6">
      <h4>#right-well</h4>
      <div class="well" id="right-well">
        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>
      </div>
    </div>
  </div>
</div>

```

**Your browser information:**

Your Browser User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7`.

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/clone-an-element-using-jquery](https://www.freecodecamp.org/challenges/clone-an-element-using-jquery)

---

<div class="post-metadata">

**Author:** ![Marmiz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/marmiz/32/74845_2.png) [@Marmiz](https://forum.freecodecamp.org/u/Marmiz)\
**Post date:** [February 5, 2018, 5:18am UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831/2 "2018-02-05T05:18:59Z")

</div>

Mind the selector of your `appendTo` function:

```auto
$("#target5").clone().appendTo("leftwell");

```

---

<div class="post-metadata">

**Author:** ![m77marilyn](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/m77marilyn/32/160687_2.png) [@m77marilyn](https://forum.freecodecamp.org/u/m77marilyn)\
**Post date:** [February 6, 2018, 1:02am UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831/4 "2018-02-06T01:02:11Z")

</div>

Is it the hashtag in front of left-well? I added that but still not submitting.

---

<div class="post-metadata">

**Author:** ![m77marilyn](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/m77marilyn/32/160687_2.png) [@m77marilyn](https://forum.freecodecamp.org/u/m77marilyn)\
**Post date:** [February 6, 2018, 1:04am UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831/5 "2018-02-06T01:04:09Z")

</div>

I found it the dash in the left-well plus the hashtag.

Thanks for your assistance!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:27pm UTC](https://forum.freecodecamp.org/t/clone-an-element-using-jquery-clone-doesnt-submit/172831/6 "2021-01-17T20:27:54Z")

</div>


