changing the style of in_place_editor_field

Hi...

I'm using in_place_editor_field. I want to change the default style of in_place_editor_field. I need to apply another style for the label, the yellow and white highlighting color.

I tried <%= in_place_editor_field :ci_class, :name, {:id => @ci_class.id}, {:highlightcolor => "#FF0000"} %>

But this is not working. Please help me to change its style.

Suneeta Km wrote:

Hi...

I'm using in_place_editor_field. I want to change the default style of in_place_editor_field. I need to apply another style for the label, the yellow and white highlighting color.

I tried <%= in_place_editor_field :ci_class, :name, {:id => @ci_class.id}, {:highlightcolor => "#FF0000"} %>

But this is not working. Please help me to change its style.

Hi...

  I have another doubt also. Please help.

  How can I get a reference to the Ajax.InPlaceEditor object generated by in_place_editor_field helper so that I can call the dispose() method? I want to have a link that toggles the in-place-edit capability. I have not been able to find a way to do that yet.

Thanks Suneeta