Basically I’m updating the text area based on selection made from
selection box. This works well. But in firefox, if I edit the value in
textbox and try to make a different selection from the selection box,
it doesnt update. This works well in IE !? Any pointers ?
Basically I’m updating the text area based on selection made from
selection box. This works well. But in firefox, if I edit the value in
textbox and try to make a different selection from the selection box,
it doesnt update. This works well in IE !? Any pointers ?
Two things to look at with your observe field call:
You should be updating userfoo rather than my_style
You don’t need to use the :with option
–
We develop, watch us RoR, in numbers too big to ignore.
That’s how I got that working. But still dont understand why I cannot
update “my_style”. It works well in IE.
Also, when I update “userfoo”, I need to write html code in my
controller. What are the common ways to keep my controller clean to
avoid this kind of cases ?