Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

Using fnDeleteRow from popup window to main window

$
0
0
When a user interacts with a form that is in a popup JavaScript window, I want to delete a row in a DataTable in the main window. I'm not sure how to address the table and specific row. The table id is "contentMR" and the id of the TR element to delete is "1234". I have tried
opener.contentMR.fnDeleteRow( $("#1234") );
opener.contentMR.fnDeleteRow( $("#1234")[0] );
opener.document.contentMR.fnDeleteRow( $("#1234") );
opener.document.contentMR.fnDeleteRow( $("#1234")[0] );
I've used opener a lot in the past but not in conjunction with jQuery syntax and I'm not sure I'm passing the row ID correctly either. Thanks for any assistance.

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>