Apologies for not being clearer. This is the situation: I have a table populated by a php/mysql script. I've created an excel export option which changes the header to ms-excel and refreshes the current page by making another call to the mysql db to fetch the data. So I thought, the table data is already embedded in the current html page; why make another call to the mysql db to fetch the same data again? is not possible to use javascript to scan the current html page for <table> and </table> and create an excel file on the fly therefore saving bandwith ?
let me know your thoughts T DavidIcreate wrote: > > ronaldo schreef: >> Hi all, >> >> I have pretty basic js & jquery skills so need some input on whether this >> is >> feasible: >> With some code, would i be able to scan the html page for a >> <table></table> >> tag; and create an excel file based on the table data ? >> >> if so, whats the correct syntax to loop through <td>? >> >> The main advantage for this would be speed and bandwith, as it'll save me >> making a call to the database. >> >> Thanks >> >> R >> >> >> > The none jquery question would be: isn't it possible to fetch your data > to a variable or an object and output that as html and make an excel > file? this will not fatten your javascript code which needs to be > downloaded too. > > -- > David Duymelinck > ________________ > [EMAIL PROTECTED] > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/tables---is-this-possible---tf3252465.html#a9052307 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
