Using fnDeleteRow from popup window to main window
Using fnDeleteRow from popup window to main window
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 [code]opener.contentMR.fnDeleteRow( $("#1234") );[/code] [code]opener.contentMR.fnDeleteRow( $("#1234")[0] );[/code][code]opener.document.contentMR.fnDeleteRow( $("#1234") );[/code] [code]opener.document.contentMR.fnDeleteRow( $("#1234")[0] );[/code]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.
This discussion has been closed.
Replies