confirm () 意既确认框
<! Doctype html> <html> <éadf> <meta charset = "utf-8"> <tight> Confirm </Title> </Ead> <body> <script> var con = confirm ("Aimez-vous à étudier javascrip lanuages! ");} </cript> </body> </html>invite 意既消息提示框
<! Doctype html> <html> <éadf> <meta charset = "utf-8"> <tight> Confirmer </ title> </ head> <body> <script> var pro = inside ("quel est votre nom?"); Document.write (pro); </ script> </ body> </html>;window.open (uri, nom, att)
<! Doctype html> <html> <éad- head> <meta charset = "utf-8"> <tigh link = document.getElementsByTagName ("a") [0]; link.onclick = function () {window.open (link.title, "blog", "width = 400px, height = 400px");} </cript> </ody> </ html>window.close () 关闭窗口
以上所述是小编给大家介绍的 JavaScript 弹窗基础篇的相关内容 , 希望对大家有所帮助!