Loading ...
Sorry, an error occurred while loading the content.
 

Re: Replace SELECT element

Expand Messages
  • jennykhan
    Hi David, Check out the example implementation at http://developer.yahoo.com/yui/examples/autocomplete/ysearch_flat.html, which uses a custom override of the
    Message 1 of 2 , Sep 6, 2006
      Hi David,

      Check out the example implementation at
      http://developer.yahoo.com/yui/examples/autocomplete/ysearch_flat.html,
      which uses a custom override of the formatResult() method to access
      multiple data fields of flat text data. For more info, be sure to also
      check out the YDN AutoComplete page, especially
      http://developer.yahoo.com/yui/autocomplete/#flat.

      Hope that helps,
      jenny



      --- In ydn-javascript@yahoogroups.com, "happydals" <david@...> wrote:
      >
      > I'm trying to figure out how to use Autocomplete to accomplish the same
      > thing as a SELECT element's name/value pair setup, where a person's name
      > is shown and selected, but a numeric ID is actually the value set.
      >
      > I've noticed in the docs (and I'm using flat data) that I can feed the
      > object with multiple fields, but I don't see any methods for accessing
      > those additional fields.
      >
      > Any tips?
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.