[jQuery] appending text nodes
Hi, I want to append text to a node. I'm using this code
$(this).parents("div.sidebarToDo").find("td.sidebarText").empty().append(val);
but if the variable "val" contains special characters, like "<td>", that will mess up the rest of my tree. What is the best way to handle this?
Thanks, - Dave
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/