getting element from an html as an array
Hello,
I just started to learn ajax and jquery and I already manged to take a
html portion of my blog. the problem is that I want to get this part
of the html as an array so that I will be able to reformat it for
example.
if my html is:
<tr>
<td><table width="100%" border="0" cellpadding="3"
cellspacing="0" style="border:1px solid #CCCCCC">
<tr>
<td width="250" bgcolor="EEEEEE"
class="style12">name</td>
<td align="right" class="style12">red paint</td>
</tr>
<tr>
<td bgcolor="EEEEEE" class="style12">price</td>
<td align="right" class="style12">7.10 $ </td>
</tr>
</tr>
then I need an array:
name
red paint
price
7.10$
or
"name" "red paint"
"price" "7.10$"
I will appreciate any ideas
Thanks
L