change alert message text color using javascript

后端 未结 4 514
小鲜肉
小鲜肉 2021-01-17 17:10

Am using the below script to change the color of the script but showing \'font color=\"red\">Hello world /font> like this.Is any possible way to change the alert text color.

4条回答
  •  悲哀的现实
    2021-01-17 18:00

    Hope this help :

    
    
    
    JavaScript String fontcolor() Method
    
    
    
    
    
    

    The concept is taken from this : http://www.developphp.com/video/JavaScript/Custom-Alert-Box-Programming-Tutorial

提交回复
热议问题