Changeset 13152


Ignore:
Timestamp:
2007/05/21 11:02:14 (15 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

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

    r13151 r13152  
    366366    var checkNum = new RegExp("[^0-9]","g"); 
    367367     
    368     alert(checkNum.test(zip01+ zip02)); 
    369          
    370     if(zip01.length >= 3 && zip02.length >= 4){ 
     368    if(checkNum.test(zip01+ zip02)){ 
     369        alert("¿ô»ú¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£"); 
     370        zip01 = ""; 
     371        zip02 = ""; 
     372    }elseif(zip01.length >= 3 && zip02.length >= 4){ 
    371373        //input_zip_json.php¤Ë͹ÊØÈÖ¹æ¤òÁ÷¿®¤·¤ÆÌá¤Ã¤Æ¤­¤¿¥Ç¡¼¥¿¤òfnReturnAddress¤ËÅϤ¹ 
    372374        sendRequest(fnReturnAddress,'&zip01='+zip01+'&zip02='+zip02,'GET','../input_zip_json.php',true,true); 
Note: See TracChangeset for help on using the changeset viewer.