radio button matrix group javascript jquery

后端 未结 2 549
北恋
北恋 2021-01-28 23:54

I am completely lost as to how I can solve this. I need to create a matrix of radio buttons, column 1 to 3 and rows A to C.
A B C
1 (o) (o) (o)
2 (o)

2条回答
  •  梦谈多话
    2021-01-29 00:25

    You may use my plugin https://github.com/zevero/jquery-checkbox-table

    $('#container').checkbox_table({
       cols: ['A','B','C'],
       rows: [1,2,3]
     });
    

提交回复
热议问题