我即将创建一个预订网页,其中如果我点击提交,它会将我引导至名为REVIEW.HTML的文件,在该文件中打印我的所有输入。 我这里有我的RESERVATION.HTML代码:如何让多个FORM输入出现在另一个HTML页面中?
function tosubmit() {
localStorage.clear();
var SelectCountry = document.getElementById("SelectCountry").value;
localStorage.setItem("SelectCountry", SelectCountry.value);
var SelectTime = document.getElementById("SelectTime").value;
localStorage.setItem("SelectTime", SelectTime);
var datepicker = document.getElementById("datepicker").value;
localStorage.setItem("datepicker", datepicker);
var Persons = document.getElementById("Persons").value;
localStorage.setItem("Persons", Persons);
return true;
}
Branch*
Select Branch
Manggahan Branch
Daang-Hari Branch
Sta. Rosa
Marcos Highway Branch
E. Rodriguez
No. of Person/s*
Select No. of Person/s
1-2 PAX
4-6 PAX
8-10 PAX
12-14 PAX
14 and Above PAX
Starting Time*
Select Time
08:00AM
09:00AM
10:00AM
11:00AM
12:00PM
01:00PM
02:00PM
03:00PM
04:00PM
05:00PM
06:00PM
07:00PM
08:00PM
09:00PM
10:00PM
11:00PM