Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82709

How to get my values using the select checkbox?

$
0
0

Hi,

I need a checkbox for each row / line (multi selection) that would be use to select item for let say delete items.

I know there is a plugin to select using checkbox I have tried it it seems to work ok but
but how can I use it to get my own values let say each row have a $item_id how can I pass that to the plugin?

I know I can add the code manually into the table but if there is a way to achieved the same using datatables select plugin
<td><input type='checkbox' id='delete' value='<?php echo $item_id; ?>' name='deleteitem' ></td>

I just need a little example to start with

Also I'm wondering is this working fine with responsive?

Thanks


Viewing all articles
Browse latest Browse all 82709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>