Populate controls based on dropdown

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ckerns@refuser.net

    #1

    Populate controls based on dropdown

    I have a drop down that pulls data (ADO) when the page loads.

    I want to make a selection on this drop down and populate the other
    controls on the page based on the selection.

    I want to do this without reloading (submitting) the whole page.

    How do i do this?

    tia

    ck
  • mkpdev@gmail.com

    #2
    Re: Populate controls based on dropdown

    W3C DOM:
    createElement
    <http://www.mozilla.org/docs/dom/domref/dom_doc_ref46.h tml>,
    setAttribute
    <http://www.mozilla.org/docs/dom/domref/dom_el_ref57.ht ml>, and
    appendChild <http://www.mozilla.org/docs/dom/domref/dom_el_ref32.ht ml>
    are probably your best bets. Since I don't know what you want to do
    really, I can't give an example with a definitive answer (this is how
    to do what you want...).

    Comment

    Working...