Control Loading Order Of Html Site With Php
I have a 3-column table, the middle column of which will contain a potentially large amount of data generated by a PHP script. I have a limited amount of time to run my script so
Solution 1:
The easiest way might be to load data using ajax and jQuery.
<table class="my-data-table">
<tr>
<td class="col-1"></td>
<td class="col-2"></td>
<td class="col-3"></td>
</tr>
</table>
<script>
$.get( "/path_to_table_data.php", function on_table_data_load( data ) {
$( ".my-data-table .col-3" ).html( data );
});
</script>
Post a Comment for "Control Loading Order Of Html Site With Php"