Hi..

I have:

<td id="hours" <%= too_many?(@project.planned_hours, @all_hours) %>>.....

This returnes a class to alter the background-color, but only on reload.
As the page is not submitted(ajax) on entry new values, I want to change 
this helper to a js/coffee function so if val 2 > val 1
the background color changes.

How to approch that?

Thanks for support
Werner


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/e6CGtYmXq8AJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to