estrarre dati da sito javascript

Claudio Brignone

Nuovo Utente
1 Feb 2013
1
0
0
vorrei chiedere se è possibile estrarre i dati presenti da questa tabella in javascript e scriverli su un foglio di excel

** link non funzionante

con la classica queryweb non lo lascia fare.
Grazie
 
Ultima modifica di un moderatore:
Ciao,
ho rimosso il link ( non funziona )
non hai a disposizione php?
se si per esportare una tabella html in excel puoi fare cosi
PHP:
<?php
$filename = "dati.xls";
header("Content-Type: application/vnd.ms-excel");
header("Content-Disposition: inline; filename=$filename");
?>    

<table class="tab">
    <tr>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
    </tr>
    <tr>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
    </tr>
    <tr>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
    </tr>
    <tr>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
    </tr>
    <tr>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
        <td>dato</td>
    </tr>
</table>
 

Discussioni simili