Issue with iFrame Datatables

Issue with iFrame Datatables

techguy1988techguy1988 Posts: 27Questions: 0Answers: 0
edited October 2010 in General
I am having an issue with an iframe and trying to "add data" to the datatable.

Could anyone point me in the right direction?

How can I add this row from an iframe? So I need to get the parent element.


[code]
$('#data_table').parent().dataTable().fnAddData( [
"value1",
"value2",
"value3"] );

[/code]

Replies

  • techguy1988techguy1988 Posts: 27Questions: 0Answers: 0
    Has anyone got any ideas on how to add datarows from an iFrame?

    Basically I've got a form (within an iframe), once the user has filled out a form, it redirects to a page which has this javascript on it. But it needs to pickup the PARENT datatable and I am not sure how to do this.
This discussion has been closed.