[jQuery] innerHTML (attribute or function)

[jQuery] innerHTML (attribute or function)

hi there,
i don't know if i'm wrong, but innerHTML isn't an Attribute but rather
a funktion?!
So the function $().html() should look like that:
html: function(h) {
return h === null && this.size() ?
this.get(0).innerHTML : this.get(0).innerHTML = h;
},
instead of:
html: function(h) {
return h === null && this.size() ?
this.get(0).innerHTML : this.set( "innerHTML", h );
},
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/