Using fnDeleteRow from popup window to main window

Using fnDeleteRow from popup window to main window

atcs2152atcs2152 Posts: 12Questions: 0Answers: 0
edited June 2013 in General
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.

Replies

  • atcs2152atcs2152 Posts: 12Questions: 0Answers: 0
    Never mind. I just figured it out.
  • psharppsharp Posts: 39Questions: 0Answers: 0
    What was your solution? Others may benefit from your experience :)
This discussion has been closed.