作者 anyv
1 个管道 的构建 通过 耗费 0 秒

投票

... ... @@ -53,12 +53,15 @@
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.js"></script>
<script>
function dan(){
id = $("input[name='danxuan']").val();
id = $("input[name='danxuan']:checked").val();
console.log(id);
}
function shuang(){
ids = $("input[name='duoxuan']").val();
console.log(ids);
arr = array();
ids = $("input[name='duoxuan']:checked").each(function() {
arr[] = $(this).val();
});
console.log(arr);
}
</script>
... ...