Issue with iFrame Datatables
Issue with iFrame Datatables
techguy1988
Posts: 27Questions: 0Answers: 0
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]
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]
This discussion has been closed.
Replies
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.