TheFilmGod Posted July 3, 2009 Share Posted July 3, 2009 contents += '<tr><td>1</td><td>First Day of School</td><td>'; contents += month_name[start[0]].slice(0,3) + '. ' + start[1] + ', ' year; contents += '</td><td>'; Firebug says I am missing a semicolon ";" right before the second line "contents += month[name..." Quote Link to comment Share on other sites More sharing options...
celsoendo Posted July 3, 2009 Share Posted July 3, 2009 It's missing a plus sign (+) just before year. Correct code: contents += '<tr><td>1</td><td>First Day of School</td><td>'; contents += month_name[start[0]].slice(0,3) + '. ' + start[1] + ', ' + year; contents += '</td><td>'; 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.