Displaying 1 result from an estimated 1 matches for "product_product_cod".
Did you mean:
product_product_code
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
...td colspan="6" align="center"><input type="button"
id="new_product_button" value="Add New Product to PO" onClick="<%=
remote_function(:update => ''new_row'', :with =>
%q(''product[product_code]=$(''product_product_code'')''), :url => { :action =>
''addRow'' }, :position => :after) %>"</td>
</tr>
Here is the controller for addRow:
def addRow
@product = Product.find_by_product_code(params[:product][:product_code])
@completeRow = render_to_stri...