var opnt_select = document.getElementById("opnt_company_oid");
   for(var i=0; opnt_select.length+1; i++){    
    if(opnt_select.options[i].value=="<%=code%>"){
     opnt_select.options[i].selected = true;
     break;       <<--안주면 스크립트 오류
    }
   }
'-=-= 컴퓨터 =-=- > 웹프로그래밍' 카테고리의 다른 글
| 클라이언트 Mac Address 가져오기 (0) | 2014.02.07 | 
|---|---|
| [JSP] getOutputStream() has already been called for this response (0) | 2013.06.13 | 
| onsubmit return false (0) | 2012.11.19 | 
| Struts 메시지 프로퍼티 사용하기 (0) | 2012.11.12 | 
| [CSS] 이미지 세로 가운데 정렬 (0) | 2012.10.15 | 








 Rss Feed
 Rss Feed