Hi,
I need to open a new page after the "do_onselect" event sending an id from the PHPGrid page to another one to work with the id (OID) value… how can achieve this?
I've been trying:
function do_onselect(id)
{
var rd = jQuery('#list1').jqGrid('getCell', id, 'oid');
jQuery("#span_extra").html(rd);
window.location = "test.php?coid=$oid";
// or
window.location = "test.php?coid=" + oid;
// or
window.location = "test.php?coid=" . oid;
}
But nothing happens…
Where should I add something like method=post so in test.php will read that id value?
Thanks in advance
Best regards
Oscar P
5 Answers
I would also appreciate seeing some examples of how to do this please.
Many thanks,
Cliff
Your Answer