I have a select list, and "onchange" event i am using a
remote_function, when it is completed, I wanted to execute a
there is some way to do this?
An alternative to the other answer - don't reply with raw text. Write your action like this:
result = whatever(params)
render :update do |rjs|
rjs.replace_html :product_price, convert_to_html(result)