Attribute value
in HTML sets initial, default value of the element, DOM property value
contains the actual, real value of the element . To change the default value of input element change defaultValue
property:
$('input').addEvent('blur', function(){
this.defaultValue = this.value;
alert($('adiv').get('html'));
});
This is normal behavior that is not related to mootools framework