Why is this simple function not working

前端 未结 3 1295
刺人心
刺人心 2020-12-11 12:55

Why isn\'t this working? Similar code works here: http://www.ralphphillips.com/youtube/stick-figure/stick-figure2.html

But this isn\'t working. I have the html code

3条回答
  •  半阙折子戏
    2020-12-11 13:17

    I may be stating the obvious here, but the first function (updateTotal) is missing the closing brace. If you copied and pasted from your source then this might be your issue. Easy to overlook when you're staring at it ;-)

提交回复
热议问题