I want to implementit in a way when page load the table, the DYNATABLE must be loaded and all functions in it, not with a button like this fiddle: https://jsfiddle.net/perqa/NqycM/
Now the script executes when this button is preseed:
<button onclick="$('#my-table').dynatable();">DYNATABLE</button>
But i want when my table is fetched, the script to be executed automaticaly:
I try this code, but not work:
<table id='mytable' onload="$('#my-table').dynatable();">
I want to implementit in a way when page load the table, the DYNATABLE must be loaded and all functions in it, not with a button like this fiddle: https://jsfiddle.net/perqa/NqycM/ Now the script executes when this button is preseed:
<button onclick="$('#my-table').dynatable();">DYNATABLE</button>
But i want when my table is fetched, the script to be executed automaticaly: I try this code, but not work:
<table id='mytable' onload="$('#my-table').dynatable();">