Server side processing and bootstrap modal
Server side processing and bootstrap modal

Hello,
I need to assign Bootstrap modal to a custom link I have created using Datatables the following line is my code from datatables javascript:
[code] $('td:eq(2)', nRow).html( 'modify' + " " + 'Delete' ); [/code]
And the following is my modal script:
[code]
<!-- Modal -->
x
Content Delete Confirmation!
Are you sure you want to Delete the product?
Cancel
Delete
[/code]
I need to have the content in [code] deletecn.php?cnid=' +aData[0] +' [/code] in place of [code]Delete[/code] once clicked I need to delete the content for specific column.
If you can help I will be glad :)
I need to assign Bootstrap modal to a custom link I have created using Datatables the following line is my code from datatables javascript:
[code] $('td:eq(2)', nRow).html( 'modify' + " " + 'Delete' ); [/code]
And the following is my modal script:
[code]
<!-- Modal -->
x
Content Delete Confirmation!
Are you sure you want to Delete the product?
Cancel
Delete
[/code]
I need to have the content in [code] deletecn.php?cnid=' +aData[0] +' [/code] in place of [code]Delete[/code] once clicked I need to delete the content for specific column.
If you can help I will be glad :)
This discussion has been closed.