Possible Duplicate:
Get selected element’s outer HTML
In jQuery I'm currently using this to get some HTML:
var content = $("tr#add-ingredients-over-here").html();
But, I actually need to include that tr
in the selected HTML. I can't figure out how to do this. I also need to replace that with some other HTML after.
Any suggestions on how to do this?