$ confirm = "Are you OK with this?"; //Define the message on the confirmation box $ok_msg = "I'm OK!"; //The message when OK $not_ok_msg = "I'm not OK!"; //Cancel information
http://www.bkjia.com/PHPjc/319951.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319951.htmlTechArticleCopy the code as follows: ?php echo JS //Use multi-line output method to output JavaScript code SCRIPT Language = " JavaScript" function func() { if(confirm("Are you OK with this?")) {...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn