js alert pop-up text in garbled solution

You can use the following code:

echo '<HTML>' ;
 echo '<head> <Meta HTTP-equiv = "the Content-the Type" Content = "text / HTML; charset = UTF-. 8" /> </ head>' ;
 echo '<SCRIPT Language = Javascript> alert ( "thanks for your participation 10 votes opportunities have all been used up!!"); </ Script> ' ;
 echo ' </ HTML> ';

Guess you like

Origin www.cnblogs.com/miaolyou/p/12059417.html