How do I change color to an highlight effect?

This is my code:

<%= form_remote_tag :url => { :action => “forgot_account” }, :update
=> “result”,
:complete => visual_effect(:highlight, “result”, :duration =>
2, :startcolor => “#c8e673”, :endcolor => “#9db55d”) %>

If I remove colors to the effect everything works, but with this code
it renders on another page …

TIA,
ngw

Il giorno 26/lug/06, alle ore 10:50, Nicholas W. ha scritto:

This is my code:

<%= form_remote_tag :url => { :action =>
“forgot_account” }, :update => “result”,
:complete => visual_effect(:highlight, “result”, :duration =>
2, :startcolor => “#c8e673”, :endcolor => “#9db55d”) %>

If I remove colors to the effect everything works, but with this
code it renders on another page …

Solved :slight_smile:

:startcolor => ‘"#color"’

The additional quote was missing.