Displaying 1 result from an estimated 1 matches for "reviewcomment_safety".
2006 Mar 10
4
Problem with ajax and textareas on firefox but works on IE
...<%= text_area ''reviewcomment'', ''safety'', ''cols'' => 45, ''rows'' =>
5 %>
</td>
<td>
<%=
link_to_remote(image_tag("/images/UI/buttons/open_review.gif"),:update
=> ''reviewcomment_safety'',:url => {:action => ''resetComment'', :factor =>
''Safety'', :rating => @reviewrating.safety}) %>
</td>
In my controller, the code looks like
def resetComment
@factor = params[:factor]
@rating = params[:rating]
@rt =...