How do I pop up an alert in Javascript?

前端 未结 9 886
半阙折子戏
半阙折子戏 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

    
    
    
     
    
    
    
    
    

    Here is the JavaScript function which has an alert box. This function is called by clicking on the submit button.

提交回复
热议问题