<li style="padding: 5px; width: 150px; overflow: hidden; float: left; height: 202px;">
<div class="title"> <a href="/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=68&virtuemart_category_id=7">Castle Bounce House</a> </div>
<div class="image"> <a href="/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=68&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&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">
--> </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>
<input type="hidden" name="task" value="add" />
</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>
私はこの「li」タグを持っていて、それは適切に複製されています。すべての行に一致しましたが、元のオブジェクトと複製オブジェクトの両方に送信ボタンがあり、元のオブジェクトからページを送信すると正しく機能します。クローンを作成すると、それらの機能が正しく機能していません。jquery でのクローン作成の問題を教えてください。
これは私のクローンオブジェクトです:
<li style="padding: 5px; width: 150px; overflow: hidden; float: left; height: 202px;">
<div class="title"> <a href="/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=68&virtuemart_category_id=7">Castle Bounce House</a> </div>
<div class="image"> <a href="/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=68&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&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">
--> </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>
<input type="hidden" name="task" value="add" />
</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>