I would try something like:

$("table").each(function() { // Loop through each table
   $(this).find("> td").each(function() { // Loop through each TD in the
table
       $(this).find("> tr").each(function() { // Loop through each TR in
the TD
           // do something with the data
       });
   });
});


Im not sure what the format of an excel file is, but you should be able to
build on that. You said you have 'basic' JS skills, I would think that this
would be a more advanced job, but you can try it out.
On 2/19/07, ronaldo <[EMAIL PROTECTED]> wrote:


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


--
View this message in context:
http://www.nabble.com/tables---is-this-possible---tf3252465.html#a9041221
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to