Hi,
i'm using (the awesome!) Form.Observe method.
but here's the thing-
once the form has changed, i don't need the observer anymore and i
want to stop it.
i tried different approaches, to no avail.
any idea how to do that?
here's the code:
var fo = new Form.Observer(document.forms[0], 2, formChanged); // init
on load
function formChanged() {
$('notice').update('The configuration has changed. Please save your
changes.')
}
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---