checkboxphpeasyuidatagrid批处理
html页面用的easyui-datagrid,然后是
<code> <table id="dg"> <thead> <form id="fm"> <tr> <th field="ck" checkbox="true"></th> <th field="name" width="50">姓名</th> <th field="profit" width="50">昨日收益</th> </tr> </form> </thead> </table> <script type="text/javascript"> var url; function edit(){ var ids = []; var row = $('#dg').datagrid('getSelections'); for(var i = 0; i<row.length;i++){ var rows = row[i]; ids.push(rows); } url = '../php/everyday.php?o=edit&uid='+row.uid; $('#fm').form('submit',{ url: url, onSubmit: function(){ return $(this).form('validate'); }, success: function(result){ $('#dg').datagrid('reload'); } }); } </script></code>
1.如何在html中获取 多行选中后的 id。
2.获取值后怎么把多个id值传到php。
3.php如何对这些id进行处理(批量处理)。