send data from iframe to another iframe

Questionssend data from iframe to another iframe
abdelilah dourhmani asked 2 years ago

i want send id of row selected from iframe 1 to another iframe 2 and switch nav active class to iframe 2

1 Answers
Abu answered 2 years ago

To get the ID of row using javascript:

var selr = jQuery('#list1').jqGrid('getGridParam','selrow');

https://www.gridphp.com/docs/javascript-api-faqs/#q-how-can-i-get-ids-or-data-of-the-selected-rows-of-grid

Rest you can change the URL of iframe and pass this variable in query string, and it’s up to your logic how you are loading page in iframe.

Your Answer

4 + 8 =

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?