search for: auto_complete_for_supplier_nam

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

2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
....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) { $(''product_supplier_id'').value = selectedElement.id.substring(1);}});</script> app/views/products/auto_complete_for_supplier_name.rhtml: <ul> <%= render :partial => ''suppli...
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"