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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:16:48+00:00 2026-06-14T12:16:48+00:00

<li style=padding: 5px; width: 150px; overflow: hidden; float: left; height: 202px;> <div class=title> <a

  • 0
<li style="padding: 5px; width: 150px; overflow: hidden; float: left; height: 202px;">
    <div class="title"> <a href="/index.php?option=com_virtuemart&amp;view=productdetails&amp;virtuemart_product_id=68&amp;virtuemart_category_id=7">Castle Bounce House</a> </div>
    <div class="image"> <a href="/index.php?option=com_virtuemart&amp;view=productdetails&amp;virtuemart_product_id=68&amp;virtuemart_category_id=7"> <img height="100" width="130" border="0" src="http://newsite.domain.com/images/stories/virtuemart/product/resized/castle_themed_bo_4f844059227b89_90x90.jpg"></a> </div>
    $949.00
    <div class="addtocart">
        <div class="addtocart-area">
            <form action="index.php?option=com_virtuemart&amp;view=cart" class="product" method="post">
                <div class="addtocart-bar">
                    <label class="quantity_box" for="quantity68"> </label>
                    <span class="quantity-box">
                    <input type="text" value="1" name="quantity[]" class="quantity-input">
                    --&gt; </span> <span class="quantity-controls"> 
                    <!--<input type="button" class="quantity-controls quantity-plus" />
        <input type="button" class="quantity-controls quantity-minus" />--> 
                    </span> <span class="addtocart-button">
                    <input type="submit" value=" " class="addtocart-button" name="addtocart">
                    </span>
                    <div class="clear"></div>
                </div>
                <input type="hidden" value="Castle Bounce House" class="pname">
                <input type="hidden" value="com_virtuemart" name="option">
                <input type="hidden" value="cart" name="view">
                <noscript>
                &lt;input type="hidden" name="task" value="add" /&gt;
                </noscript>
                <input type="hidden" value="68" name="virtuemart_product_id[]">
                <input type="hidden" value="7" name="virtuemart_category_id[]">
            </form>
            <div class="clear"></div>
        </div>
    </div>
</li>

i have this ‘li’ tag and it’s cloning properly i have matched every line but their is submit button in both original and clone object and when i submitting my page through the original then it is working properly.But when i submitting my page through the clone then their functionality is not working properly can any one tell me what is the problem with the cloning in jquery.

this is my clone object :

<li style="padding: 5px; width: 150px; overflow: hidden; float: left; height: 202px;">
    <div class="title"> <a href="/index.php?option=com_virtuemart&amp;view=productdetails&amp;virtuemart_product_id=68&amp;virtuemart_category_id=7">Castle Bounce House</a> </div>
    <div class="image"> <a href="/index.php?option=com_virtuemart&amp;view=productdetails&amp;virtuemart_product_id=68&amp;virtuemart_category_id=7"> <img height="100" width="130" border="0" src="http://newsite.domain.com/images/stories/virtuemart/product/resized/castle_themed_bo_4f844059227b89_90x90.jpg"></a> </div>
    $949.00
    <div class="addtocart">
        <div class="addtocart-area">
            <form action="index.php?option=com_virtuemart&amp;view=cart" class="product" method="post">
                <div class="addtocart-bar">
                    <label class="quantity_box" for="quantity68"> </label>
                    <span class="quantity-box">
                    <input type="text" value="1" name="quantity[]" class="quantity-input">
                    --&gt; </span> <span class="quantity-controls"> 
                    <!--<input type="button" class="quantity-controls quantity-plus" />
            <input type="button" class="quantity-controls quantity-minus" />--> 
                    </span> <span class="addtocart-button">
                    <input type="submit" value=" " class="addtocart-button" name="addtocart">
                    </span>
                    <div class="clear"></div>
                </div>
                <input type="hidden" value="Castle Bounce House" class="pname">
                <input type="hidden" value="com_virtuemart" name="option">
                <input type="hidden" value="cart" name="view">
                <noscript>
                &lt;input type="hidden" name="task" value="add" /&gt;
                </noscript>
                <input type="hidden" value="68" name="virtuemart_product_id[]">
                <input type="hidden" value="7" name="virtuemart_category_id[]">
            </form>
            <div class="clear"></div>
        </div>
    </div>
</li>
  • 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-14T12:16:49+00:00Added an answer on June 14, 2026 at 12:16 pm

    I have had problems with

    $elem.clone().function1().function2().bla().bla();
    

    try

    var $elemToClone = $elem.clone();
    

    and

    $elemToClone.function1().function2().bla().bla();
    

    after.

    Also share the js code.

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

Sidebar

Related Questions

I have a HTML document with the below setup: <div class=main-div style=padding: 5px; border:
CSS: .share { width: 150px; height: 20px; background: #000; float: right; white-space: nowrap; padding-top:
I want to clear textbox after ajax posting. <div style=padding: 5px; background-color: Silver;> @using
I want to clear textbox after ajax posting. <div style=padding: 5px; background-color: Silver;> @using
I have a span with the following style: margin: 5px 0; padding: 2px; cursor:
I have the following code but it doesnt seem to work: <td align=center style=padding-bottom:52.5px>
<div id=simg1 style=display: inline> <img src=images/image.jpg> </div> <div id=sbdy><a href=www.google.com>some text</a></div> CSS Style: #simg1
.work .nav { list-style: none; margin: 0 0 5px 5px; padding: 0; position:absolute; top:248px;
I have an li styled as follows: li{ display:inline-block; padding:5px; border:1px solid none; }
my body style is like below : * { padding: 0px; margin: 0px; }

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.