[jQuery] a dom question
[jQuery] a dom question
the html is as follows,now my question is :
how to move the text "text1 here" into the second line of the first
table(add a new table line, "text2 here" into the second table and so
on.
the html source of this syntax is quite long, so i must do this in a
regular way. i can't find a solution, anyone can help? cheers.
------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
</head>
<body>
<div class="a">
<table>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
text1 here
<table>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
text2 here
<table>
<tr>
<td>test</td>
<td>test</td>
<td>test</td>
</tr>
</table>
text3 here
</div>
</body>
</html>