Try putting the :onchange portion in { }. I have a similar drop down
that once you make a selection a remote_function call is activated and
that's when all the magic happens. I had the same problem as you when I
was trying to get it to work and that is the solution that I found. Here
is what my code looks like:
because there's no such thing as a javascript visualEffect method. There is a rails helper visual_effect, that will spit out the corresponding javascript.
Either use that, or just write the javascript yourself: