do_onselect event

Questionsdo_onselect event
Oscar asked 10 years ago


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');
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
Abu Ghufran answered 10 years ago

Emailed you few samples.

Cliff answered 9 years ago

I would also appreciate seeing some examples of how to do this please.

Many thanks,


Abu Ghufran answered 9 years ago

Emailed you the samples.

Lubos Vitu answered 8 years ago"test.php?coid="+rd);

Abu Ghufran answered 8 years ago

Thanks Lubos.

Here is discussed code.

Your Answer

17 + 14 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?