How to use php objects in jquery .push() or value method?
I have a table of data.I got this data after calling a SOAP request(web service).This data is showing in the table by creating objects of the array that i got from SOAP request.In front of all row there is check box.Now i want when i tick on the check box the result of the check box should be post to another php page.But i do not know how to pass there value to the next page.
$xml = simplexml_load_string($xmlStr);
foreach($xml as $datarow) { ?>
<tr>
<td> <?php echo $datarow->cihs_item ."<br><br>"; ?>
<?php echo $datarow->cihs_description ; ?>
</td>
<td> <?php echo Date("Y-m-d",strtotime($datarow->cihs_date )); ?> </td>
<td> <?php echo $datarow->cihs_unitcost; ?> </td>
<td> <?php echo $datarow->cihs_price; ?> </td>
<td> <?php echo $datarow->cihs_quantity ; ?> </td>
<td><input type="checkbox" name="reorder" id="reorder" class="checkbox"> </td>
</tr>
I printed the result in this way.So how i can pass the data to $.ajax method of checked check box to print on the next page?
Thanks