search for: po_detail

Displaying 1 result from an estimated 1 matches for "po_detail".

Did you mean: pro_detail
2006 Nov 04
0
RJS not setting form input value correctly
...he form are updated correctly EXCEPT this one form element. The form element in the view looks as the following: <input type="text" id="total_commission_<%= @product.id %>" name="total_commission_<%= @product.id %>" value="<%= number_to_currency(po_detail.commission, { :precision => 4 }) rescue nil %>" disabled="true" readonly="readonly" style="width: 50%"/> The RJS template code is as follows: page << "(''total_commission_#{@product_id}'').value=''" + number_to_cur...