Have to display an error on webpage through accesing DOM via javascript

后端 未结 0 1484
我在风中等你
我在风中等你 2021-02-02 15:07

just imagine there is a script in HTML

var x=(100+50;

I know that this a syntax error but I want to display a message like "error".

how should I mani

相关标签:
回答
  • 消灭零回复
提交回复
热议问题