So what I want to do is like this
var rows = $('#dg').datagrid('getSelections');
var datastr = JSON.stringify(rows);
var posting = $.post( url, { dg: datastr, charter_type: $('#charter_type').val() } );
Only when I try and read it on the php page called I get Undefined index: dg
$dg = $_REQUEST['dg'];
$obj = json_decode($dg);
$activity_code = $obj['activity_code'];
$description = $obj['description'];
$amount = $obj['amount'];
$unit_of_measurement = $obj['unit_of_measurement'];
$quantity = $obj['quantity'];
$hours = $obj['hours'];
$charter_type = $_REQUEST['charter_type'];
Yet the charter_type came through