search for: supplier_name_auto_complet

Displaying 2 results from an estimated 2 matches for "supplier_name_auto_complet".

2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
...exactly do it? Sure, no problem. app/views/products/_form.rhtml: <%= hidden_field :product, :supplier_id %> <%= text_field :supplier, :name, :size => 40, :value => @product.supplier.nil? ? nil : @product.supplier.display_name %> <div class="auto_complete" id="supplier_name_auto_complete"/> <script type="text/javascript"> new Ajax.Autocompleter(''supplier_name'', ''supplier_name_auto_complete'', ''/products/auto_complete_for_supplier_name'', {afterUpdateElement: function(element, selectedElement)...
2005 Sep 22
6
Autocomplete - setting a second value?
I''m using the autocomplete function, and need a way to grab a second value from the ajax request... an example would probably speak better: This is my HTML: <input name="CustomerName" id="CustomerName" type="text" /> <div id="CustomerList"></div> <input name="CustomerID" id="CustomerID"