Hello Folks,
I have a partial that it’s displayed only when the user select “yes” on
a select box (I do that thru observe_field)
The partial (_text.rhtml) code is:
<p>you have selected YES</p>
And it is rendered within a div (id=“confirm”) on add_object.rhtml
I would like the partial is showed using highlight so I added on
add_object.rjs this code:
page[:confirm].visual_effect :highlight
but it doesn’t work.
Where Am I wrong ???
Have I to create a _text.rjs and adding the visual effect in this file
???
THANK YOU