<script> //添加 $("#search").click(function(){ var val_value = $("#jiedao option:selected").val(); var val_text = $("#jiedao option:selected").text(); $("#blank_1").before("<input type ='button' class='yixuanquyu_1' value='"+val_text+"'>"); }); //单击删除 $('.yixuanquyu').on("click", ".yixuanquyu_1", function(){ $(this).remove();}) </script>
添加回答
举报
0/150
提交
取消