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

Re: Autocomplete force open

Expand Messages
  • VINODH
    Hello Abhishek, I am doing something very semiliar with autocomplete. Can you please send me a ccode snippet of how you are using the dataReturnEventHandler
    Message 1 of 3 , Jul 29 4:59 PM
    • 0 Attachment
      Hello Abhishek,
      I am doing something very semiliar with autocomplete. Can you please
      send me a ccode snippet of how you are using the
      dataReturnEventHandler with autocomplete?
      Thank you
      Vinodh

      -- In ydn-javascript@yahoogroups.com, "Abhishek Goel" <abhishek@...>
      wrote:
      >
      > I currently have a dataReturnEventHandler subscribed to the
      > dataReturnEvent for my autocomplete. If it sees that the results
      list
      > is empty, it sets the body of the container to say something
      like "No
      > Results Found" and then tries to open the container. The only way I
      > know to open the container is to use _toggleContainer. However, if I
      > use that, the container shows up behind the html select box that is
      > just underneath my input text box. This happens in IE even though I
      > have useIFrame set to true.
      >
      > This happens only when the results of the first query are empty. If
      I
      > type something in my input box and get a list of results, the list
      of
      > results shows up over the html select box which is expected
      behavior.
      > If I then type some garbage value into my textbox, the container now
      > shows over the html select box. However if I refresh the page and
      now
      > put garbage in the text box, the container with "No Results Found"
      > shows beneath the html select box.
      >
      > Does anyone know what's happening? My best guess is that
      > _toggleContainer, being a private method, I am not allowed to call
      it
      > directly. And since I am, the container opens, but doesn't behave as
      > expected and doesn't use the iFrame stuff. Any suggestions?
      >
      > Thanks.
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.