No problem I have made that change I normally do use this as it flows better
with my brain. But Like you just went for the shortest typing on the
example :)
which considering this is the final result of that inquiry seems kinda moot
.
$$('input.autoUpdate').addEvent('blur',function(event){
pjSave(this.get('id'),this.get('value'));
});
Thanks again to you both :)
On Tue, Dec 29, 2009 at 3:10 PM, Sanford Whiteman <
[email protected]> wrote:
> Paul, Aaron's pointing out that you should use getters and setters
> everywhere you can. So you ideally use neither `innerHTML` nor `value`
> directly:
>
> $('result').set('html',this.get('value'));
>
> Didn't bother changing things around in the shell, since what you were
> wondering about was the 'this'.
>
> -- S.
>
>