> $(".Photo").before("<table border='0' cellpadding='0' cellspacing='0'
> width='1'><tr><td>x </td><td>").after("</td><td>y</td></tr></table>");

The arguments to .before() and .after()should be well-formed complete HTML
fragments. You can't pass the top half of a table to .before() and the
bottom half to .after(). To wrap something, use .wrap() instead. The example
looks suspiciously like presentational markup though, so a table may not be
the right way to go in any case.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to