If you're familiar with XBL, then reading the source for the 
autocomplete binding will help you out:

http://lxr.mozilla.org/seamonkey/source/xpfe/components/autocomplete/resources/content/autocomplete.xml

It seems that you're trying to iterate through the list of text values 
in the autocomplete popup.  In that case, you can call 
getResultAt(aIndex) to get these values.

- Joe


Mark Wood wrote:

> I'm trying to use the autocomplete binding (e.g. address autocomplete 
> when composing a mail message) to build a search feature for an address 
> book.  Is there a way to capture the contents of the popup that displays 
> the possible matches when typing in an address?  I've tried getting the 
> 'anonymousContent' from the textfield, but it doesn't seem to contain 
> anything.  Anyone have any pointers or advice?
> 
> Mark Wood
> 
> 


Reply via email to