セレクトメニューに応じたdivタグの内容
http://oshiete.goo.ne.jp/qa/6524472.html
ここで使われている this って、ただ単にグローバル変数にしているだけだから
2回やると・・・・
changer.init = function(id, ids){ var sel = document.getElementById(id); if(!sel || sel.nodeName != "SELECT") return; this.target = ids.split(","); this.set(sel.value); sel. /*@if(1)attachEvent('on' + @else@*/addEventListener(/*@end@*/ 'change', changer, false); sel = null; }