我的代码是
<button data-target="#myModal" data-toggle="modal" class="pink_button">Add Selected to Shopping List</button>
我的弹出代码是
<div class="modal-content">
<form class="listingServes">
<div class="modal-header">
<button aria-label="Close" data-dismiss="modal" class="close" type="button"><span aria-hidden="true">×</span></button>
<h4 id="myModalLabel" class="modal-title">Add Ingredients to Shopping List</h4>
</div>
<div class="modal-body"><p><label for="recipe_491">Ancient Grain Pilaf with Broccoli Serves : </label><input type="number" value="" placeholder="Enter No. of Servings" class="drop recipe_491" rel="491" name="recipe_491"><span style="float:right;cursor:pointer;font-weight:bold" class="removeRecipe">x</span></p></div>
<div class="modal-footer">
<button data-dismiss="modal" class="btn btn-default" type="button">Cancel</button>
<button class="btn btn-primary modaladdtocart" type="button">Add to Shopping List</button>
</div>
</form>
</div>
我点击按钮然后我的弹出窗口显示但没有任何数据请帮助我如何打开我的弹出按钮单击所以采取适当的数据.... 请帮帮我所有测试员......