Is there any way to create prompt with two input fields?

后端 未结 4 2027
名媛妹妹
名媛妹妹 2020-12-06 08:45

Is there any way to create prompt in JavaScript with two input fields ?

I tried that code, but it didn\'t help me :

var a = prompt(\"A : \", \"\");         


        
4条回答
  •  臣服心动
    2020-12-06 09:40

    JavaScript Code

               
    

    Html Code:

              

    All form fields are required.

提交回复
热议问题