unemployment Posted February 5, 2011 Share Posted February 5, 2011 The .label. is killing the code, but I want to append the child as a label not just plain text. Please help. function show_error_body(label, msg){ removeChildren(label); document.getElementById("submitmessage").label.appendChild(document.createTextNode(msg)); } Link to comment https://forums.phpfreaks.com/topic/226784-appendchild-doesnt-like-label/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.