Così
codice HTML:
<tr>
<td>
<span class='descriz_prodotto'>bastoncini orecchi</span>
</td>
<td style='position:relative;'>
<span class='grassetto'>Aggiungi Nota</span>
<br>
<form name='test".$j."'>
<textarea name='notafile' id='notafile' rowspan='3' colspan='3'>note prodotto</textarea>
<input name='prod_n' id='prod_n' type='hidden' value='3'>
</form>
</td>
</tr>
codice:
var dati = [];
$("#id_tabella tr").each (function (i) { // Ciclo le righe della tabella
dati[i].notafileutente = $(this).find("textarea").eq(0).val();
dati[i].prod_nutente = $(this).find("input").eq(0).val();
});
Non l'ho testato, se non funziona dimmelo
Edit
Dovrebbe restituire un array di oggetti tipo questo
codice:
[
{
notafileutente: "blablabla1",
prod_nutente: "bla1"
},
{
notafileutente: "blablabla2",
prod_nutente: "bla2"
}
]