javascript prototype.js
eachでグルグルしたかった。
var array = ['hoge,'page']; array.each( function(value) { alert(value); } );
表示、非表示の切り替えがしたかった。
if( value == 'show' ) { $('hoge').style.display = "block"; } else { $('hoge').style.display = "none"; }
http://www.imgsrc.co.jp/~kuriyama/prototype/prototype.js.html