<div class="row">
    <table>
        <thead><tr><th>操作</th></tr></thead>
        <tbody>
            <tr>
                <td>
                    <input type="radio" name="3" value="Update" />覆盖
                    <input type="radio" name="3" value="Insert" />更新
                    <input type="radio" name="3" value="Cancel" />取消
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="2" value="Update" />覆盖
                    <input type="radio" name="2" value="Insert" />更新
                    <input type="radio" name="2" value="Cancel" />取消
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="5" value="Update" />覆盖
                    <input type="radio" name="5" value="Insert" />更新
                    <input type="radio" name="5" value="Cancel" />取消
                </td>
            </tr>
        </tbody>
    </table>
    <input type="button" ]:checked').each(function (i, val) {
            insertIds += val.name + ';';
        });
        alert('Update:'+updateIds);
        alert('Insert:'+insertIds);
    });

</script>

相关文章:

  • 2021-10-21
  • 2021-12-05
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2022-12-23
  • 2021-10-30
  • 2021-12-31
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案