[Rails] Re: observe_field with select throwing javascript error

2008-11-05 Thread Corey Murphy
> Are there any other objects on the page with id transaction_type ? (or > to put things another way, if you evaluate $('transaction_type') in > the firebug console, what do you get?) > > Fred You nailed it Fred. I had stripped out the rest of the page to simplify what was going on to see if

[Rails] Re: observe_field with select throwing javascript error

2008-11-05 Thread Frederick Cheung
On 5 Nov 2008, at 12:46, Mark Reginald James wrote: > > Corey Murphy wrote: >> Using the following simple form with a select box, the >> observe_field is >> throwing a javascript error related to the "getValue()" method in the >> prototype library. Any ideas as to why? Everything that I can

[Rails] Re: observe_field with select throwing javascript error

2008-11-05 Thread Mark Reginald James
Corey Murphy wrote: > Using the following simple form with a select box, the observe_field is > throwing a javascript error related to the "getValue()" method in the > prototype library. Any ideas as to why? Everything that I can tell is > well formed syntactically. I'm running Rails 2.1.0. >