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

Re: [ydn-javascript] AutoComplete: filtering results

Expand Messages
  • Giorgio Valoti
    ... It works! :-) Thank you -- Giorgio Valoti
    Message 1 of 3 , Apr 3, 2008
    • 0 Attachment
      On 03/apr/08, at 09:51, Fiouz wrote:
      > Hi,
      >
      > On 4/2/08, Giorgio Valoti <giorgio_v@...> wrote:
      >> Hi all, I'm using an AutoComplete widget that fetches data
      >> from a
      >> server and I'd like to filter some of the result that I get using
      >> the
      >> value from another field. I'd like to avoid passing the field value
      >> as an additional server-side query parameter. Is there a way to do
      >> this with YUI AutoComplete?
      >
      > Overriding the datasource getResults function could achieve what you
      > are looking for (replace DS_JSArray with your actual datasource
      > implementation, I guess it'll be DS_XHR) :

      It works! :-)

      Thank you
      --
      Giorgio Valoti
    Your message has been successfully submitted and would be delivered to recipients shortly.