Changeset 12973


Ignore:
Timestamp:
2007/05/17 20:15:36 (15 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/js/site.js

    r12960 r12973  
    3939            state_id = document.form1['state'].value; 
    4040            town = document.form1['city'].value + document.form1['town'].value; 
    41             //document.getEementById("order_zip02").value = state_id; 
    42             document.getEementById("order_addr01").value = town; 
    43              
    44             //window.opener.document.form1[input1].selectedIndex = state_id; 
    45             //window.opener.document.form1[input2].value = town; 
     41            window.opener.document.form1[input1].selectedIndex = state_id; 
     42            window.opener.document.form1[input2].value = town; 
    4643        } 
    4744    } else { 
     
    362359} 
    363360 
    364 function test(val){ 
    365     alert(val); 
    366 } 
     361function test(){ 
     362    sendRequest(back,'&zip01=530&zip02=0003','GET','input_zip_json.php',true,true) 
     363} 
     364 
     365function back(data){ 
     366    alert(data.responseText); 
     367} 
Note: See TracChangeset for help on using the changeset viewer.