Zachary S.
New member
All right, so I am working with HTML and JS objects, and I've ran into a little snag. I want to take a table and transform it into something a little simpler.
Basically I want to take this:
<table>
<tr><td><font>Some text</font></td></tr>
<tr><td><font>Some text</font></td></tr>
<tr><td><font>Some text</font></td></tr>
</table>
And use some jQuery magic to turn it into this:
<div>
Some text(br/)
Some text(br /)
Some text
</div>
*I used () for the br's because using <> causes them to get parsed
I'm a bit of a newbie in jQuery, so a detailed explanation would be much appreciated.
Basically I want to take this:
<table>
<tr><td><font>Some text</font></td></tr>
<tr><td><font>Some text</font></td></tr>
<tr><td><font>Some text</font></td></tr>
</table>
And use some jQuery magic to turn it into this:
<div>
Some text(br/)
Some text(br /)
Some text
</div>
*I used () for the br's because using <> causes them to get parsed
I'm a bit of a newbie in jQuery, so a detailed explanation would be much appreciated.