Re: value in listbox

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 10/15/04

  • Next message: HudsonKane: "Re: value in listbox"
    Date: Fri, 15 Oct 2004 14:01:16 -0400
    
    

    "HudsonKane" <HudsonKane@discussions.microsoft.com> wrote in message
    news:56BDE7A9-37E2-4C85-A2D4-919473F4F053@microsoft.com
    > I have an hshtml.IHTMLElementCollection, but I cannot find a similar
    > options collection. Moving throught the ElementCollection does not
    > show any options.

    What do you mean, you have it? Where and how do you get it from?

    You get a reference to <select> element (e.g. by using its ID). The
    element has "length" property giving the number of options, and "item"
    property that gives you an <option> element by index.

    -- 
    With best wishes,
        Igor Tandetnik
    "On two occasions, I have been asked [by members of Parliament], 'Pray, 
    Mr. Babbage, if you put into the machine wrong figures, will the right 
    answers come out?' I am not able to rightly apprehend the kind of 
    confusion of ideas that could provoke such a question." -- Charles 
    Babbage 
    

  • Next message: HudsonKane: "Re: value in listbox"