+ 1
How to make it when i click add and submit it will run out a table.
2 Answers
+ 2
Problem is with your current line 20:
var table="<table border='1' cellspacing='0' align='center'><tr><td>Date</td><td>Day</td><td>Temperature</td><td>Weather</td><td colspan = "2"></td></tr>"
The " of "2" closes the string.
so error says unexpected number (referring to the 2 after ").
solution is to use '2'
0
Thanks a lot!