ページの返却/返却後のフォームの元データも表示されます.(動的に追加されたデータも同じです.)

1861 ワード


    
        
        
        
        
            function go(){
                location.href = "affirm.html";
            }
//                      
            function add(){
                var option = null;
                var first = document.getElementById("select");
                option = document.createElement("option");
                option.appendChild(document.createTextNode(document.getElementById("oPersistInput").value));
                option.vaule = document.getElementById("oPersistInput").value;
                option.selected = "selected";
                first.appendChild(option);
            }
        
    
    
        
input1:

INput2:

:


<META NAME="save" CONTENT="snapshot">
<STYLE>
.saveSnapshot {
behavior: url(#default#savesnapshot);
}
</STYLE>
 これは入力の最初のページであり、フォームページでもあります.
affirm.
前のフォームページを返しますが、データは失われません.