I am new to javascript.
(我是javascript新手。)
I am wanting to learn how to display submitted values from a form through an alert window.(我想学习如何通过警报窗口显示表单中提交的值。)
Is this possible?(这可能吗?)
For example, if a user fills in the form with their first and last name as "John Smith," once he clicks "submit" an alert() will show up saying "You input First Name:John Last Name: Smith"
(例如,如果用户填写的姓氏和名字分别为“ John Smith”,则在他单击“ submit”后,将显示一个alert()并显示“您输入的名字:John Last Name:Smith”)
ask by naanobot translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…