Connecting Tech Pros Worldwide Help | Site Map

Populate controls based on dropdown

  #1  
Old July 23rd, 2005, 08:07 PM
ckerns@refuser.net
Guest
 
Posts: n/a
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
  #2  
Old July 23rd, 2005, 08:07 PM
mkpdev@gmail.com
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically Populate Server Control? Arpan answers 5 August 2nd, 2006 02:15 PM
Change DataGrid EditControl based On Column Value Billy answers 2 March 1st, 2006 10:55 AM
set selectedvalue on dropdown in datagrid Kurt Schroeder answers 1 November 19th, 2005 09:49 AM
Fetching Data Through a DropDown Kate Hudson answers 1 November 18th, 2005 03:28 PM