This betrays my lack of javascript knowledge, but is it possible to
watch a whole form for changes and activate some javascript when those
changes occur without any remote request?
That is, I want to do exactly what observe_form does, but without the
ajax call actually happening. I realize I could use the form_tag
:onchange parameter, but that seems to be incapable of doing things like
updating a DOM element style.
Currently I just put my javascript in :complete and have the ajax render
:nothing => true, but that’s a hack and uses unnecessary bandwidth.
-Payton