Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Hide/Show dropdown dependent on value from other dropdown.


Message #1 by "Paul Donaghe" <pdonaghe@e...> on Fri, 23 Mar 2001 04:00:08
> I use the following method with IE5.5.
> 
> 1. Put your data in XML files (design the appropriate data structure).
> 2. Use XML tag with src attribute in your HTML page.
> 3. Construct your dropdown box dynamically with java script (using dhtml 
and
> XML DOM).
> 
> It takes too long to explain everything. I use the following wrox-books:
> IE5 Dynamic HTML Programmer's Reference
> XML IE5 Programmer's Reference.
> 
> In your case it might need to run with Netscape as well?!
> 
> Regards,
> Kees
> 
> 
Try looking at the code here:
http://aspfree.com/authors/salimn/optionex.asp
You should be able to incorporate some DHTML in this to hide the lists. I 
use this script running from a database, but it can run just as well from 
js arrays (like the article does)

  Return to Index