unemployment Posted February 28, 2011 Share Posted February 28, 2011 Can't get the class added to the childNodes. Where is my syntax off? if (title.value.length === 0) { addClass(postsubmit.childNodes, 'clear'); show_error(title_msg, 'Article title is required.'); } Link to comment https://forums.phpfreaks.com/topic/229096-childnodes/ Share on other sites More sharing options...
requinix Posted February 28, 2011 Share Posted February 28, 2011 Not enough information. Where'd title and postsubmit come from? What does addClass look like? Why do you think it's a syntax error? Link to comment https://forums.phpfreaks.com/topic/229096-childnodes/#findComment-1180661 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.