Connecting Tech Pros Worldwide Help | Site Map

Populate controls based on dropdown

ckerns@refuser.net
Guest
 
Posts: n/a
#1: Jul 23 '05
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
Guest
 
Posts: n/a
#2: Jul 23 '05

re: Populate controls based on dropdown


W3C DOM:
createElement
<http://www.mozilla.org/docs/dom/domref/dom_doc_ref46.html>,
setAttribute
<http://www.mozilla.org/docs/dom/domref/dom_el_ref57.html>, and
appendChild <http://www.mozilla.org/docs/dom/domref/dom_el_ref32.html>
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...).

Closed Thread