function ge(id){
this.id=id;
this.d=document;
this.w=window;
return document.getElementById(id);
}
ge.prototype={
set_in:function(value){
this.innerHTML=value;
},
getIn:function(){
return document.getElementById(this.id).innerHTML;
},
foc:function(){
document.getElementById(this.id).focus();
}
}
私がしたいのは、ge('id').getIn() を呼び出すと、その要素の innerHTML が生成されることです。