title: How to get selected values from datatable
body: <p>i'm fitghting with this all weekend, so i hope that here can i find the answer:</p>
  
  <p>I'm usising <a href="http://datatables.net/examples/server_side/select_rows.html" rel="nofollow">http://datatables.net/examples/server_side/select_rows.html</a> with calls at the server side with json but i can't get the selected items from the datatable to set it in a input hidden (to pass trough an Struts Actions for backend process), so the selection of the data works fine, but i can't find in the DataTable API how to get the values of the rows selected to do some like:</p>
  
  <pre><code>$("#myHiddenValues").val(datatableSelectedValues);
  </code></pre>
  
  <p>Where the var datatableSelectedValues is the array with the rowsId (or some other objects) with the data that i need,</p>
  
  <p>Thanks :)</p>