2011-05-20 66 views

回答

0
GB_showCenter('Claim Application form',url,500,600,closeBack); 

       if(document.getElementById('txtEmployeeId')) 
       { 
         document.getElementById('txtEmployeeId').style.display='none'; 
       } 
       document.getElementById('txtExpenseTitle').style.display='none'; 
       document.getElementById('txtFwdEmployeeId').style.display='none'; 


function closeBack(){ 
      document.getElementById('txtExpenseTitle').style.display=''; 
      document.getElementById('txtFwdEmployeeId').style.display=''; 
      if(document.getElementById('txtEmployeeId')) 
      { 
       document.getElementById('txtEmployeeId').style.display=''; 
      } 
     } 

這是非常簡單的,希望它可以幫助別人。 可能是我的問題不合適或者人們不喜歡它