firefox에서 오류가 생기는데 원인이 뭘까요??? ㅠ..ㅠ 정보
firefox에서 오류가 생기는데 원인이 뭘까요??? ㅠ..ㅠ본문
IE에서는 오류가 없는데 불여우에서는 오류가 나옵니다. ㅠ..ㅠ
네이버 지식인을 찾아보니까 style에서 width와 position이 없다고 했는데 넣어도 오류는 안없어지네요 ㅠ..ㅠ
원인이 뭘까요???
document.getElementById("ClubMenu") has no properties
document.getElementById("ClubMenu").options.add(oOption);
오류가 생기는 java script 부분...
var clubMenu = document.getElementById("ClubMenu");
var oOption = document.createElement("OPTION");
var oOption = document.createElement("OPTION");
document.getElementById("ClubMenu").options.add(oOption);
oOption.innerText = text;
oOption.value = value;
oOption.value = value;
관련된 html 부분
<td><form name=frm method=post target=hframe>
<select name="ClubMenu" size="20" style="position:relative;width:230px" class="left01" onclick=SelectClubMenu();>
</select>
</form></td>
<select name="ClubMenu" size="20" style="position:relative;width:230px" class="left01" onclick=SelectClubMenu();>
</select>
</form></td>
댓글 전체
select name="ClubMenu" id="ClubMenu"
아~ 아뒤가 없을 때 나오는 오류 ㅠ..ㅠ 그런데 왜??? 불여우에서만 체크를 하는걸까요??? ㅠ..ㅠ
포인트가 짜져서 죄송합니다 (자진신고 ㅠ..ㅠ)
포인트가 짜져서 죄송합니다 (자진신고 ㅠ..ㅠ)