JAVASCRIPT
selectbox option추가(ie, ff)
윤재현
2009. 4. 16. 11:17
var s = document.getElementById('searchtype');
var o = document.createElement('option');
o.text='a';
o.value='a';
s.options.add(o);
파폭에서 위에있는 options를 안써주면 스크립트오류 발생
var o = document.createElement('option');
o.text='a';
o.value='a';
s.options.add(o);
파폭에서 위에있는 options를 안써주면 스크립트오류 발생