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.'); } Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.