I use inline grid and I need to pass all the fields values of the current selected record to another php file and same time navigate to this page so I can read values like this:
$myvar = $_REQUEST['field'];
So I added new button on the grid tool bar like this:
<a href="#" class="easyui-linkbutton" iconCls="icon-more" plain="true" onclick="getSelected()">Detail Page</a>
And the script was like this
<script type="text/javascript">
function getSelected(){
var row = $('#dg').datagrid('getSelected');
if (row){
window.location = 'job_detail.php?jd='+row.job_message_id;
</script>
I dont want to pass about 15 fields in a GET way so is there a way to POST all values to job_detail.php page ?