我们有一个滑块条,其中包含20种产品,每张幻灯片都包含5种产品,因此我想验证每张幻灯片中是否包含5种产品,但是这里我们使用jspf,并且可以通过任何方式读取Input值( value =“ / fragments / savedBouquets / giftlistItem.jspf.wishToCart4)?以下是HTML代码
<li class="" style="margin-right: 20px; width: 159px; float: left; display: block;">
<div class="m-product-mini ">
<a href="#" class="icon-close" data-giftitem-id="gi25940088"></a>
<a href="/bouquet/say-yellow-bouquet/p_ef_trs15-1a?skuId=EF_TRS15-1A" navlink="SaveForLater" class="pdplink">
<figure class="fluid">
<img src="//assets.eflorist.com/assets/products/PHR_/TRS15-1A.jpg" draggable="false" alt="">
</figure>
</a>
<a href="/bouquet/say-yellow-bouquet/p_ef_trs15-1a?skuId=EF_TRS15-1A" navlink="SaveForLater" class="m-product-price pdplink"> $64.99</a>
<form method="GET" action="/fragments/savedBouquets/"><input name="_dyncharset" type="hidden" value="UTF-8"><input "><input name="_DARGS" type="hidden" value="/fragments/savedBouquets/giftlistItem.jspf.wishToCart4"></form>
</div>