How do I pop up an alert in Javascript?

前端 未结 9 863
半阙折子戏
半阙折子戏 2021-01-19 16:03

How do I pop up an alert in Javascript?

I tried alert\"HELLO\" but that didn\'t work.

Can someone tell me the correct syntax?

Oh by the

9条回答
  •  鱼传尺愫
    2021-01-19 16:43

    if you're having problems with alerts, it probably means your javascript is disabled in your browser, but if it isn't these methods should solve your issue.

    
    

提交回复
热议问题