所以基本上我在JavaScript中有一个函数。当一个按钮被点击时,它会弹出一个promptBox,要求你输入一个输入。我声明了多个变量,但您必须一次只声明一个变量。如何才能使所有变量同时出现在promptBox()中 function promptBox()var name = prompt ("YourName");
var dateOfBirth= prompt ("Dat
以下是代码/* I have setted up a button to enter html code in this div via jquery*/
/*devise another button which will disable further addition addition to the div elements with the previous html