Im trying to modify an object resulting from $('#some_id'), and everything seems to work fine, but when I ask back for my modified object it has no changes at all.
$('#log_container').log
undefined
$('#log_container').log = {}
Object {}
$('#log_container').log
undefined
Why $('#log_container').log is undefined instead of what I explicitly assign in the previous line?