Question re: multiple select lists
"Kyle Dallaire" <[email protected]> Tue, 2 Oct 2007 15:15:26 -0500
| Newsgroups | gmane.comp.web.htdig.general |
|---|---|
| Message-ID | <2D6F253C8E4F1748B1957895C7D5D41B02E20379@stlmail1.corp.amdocs.com> |
Hello -- I use ht://Dig to index a website that contains documentation for several different versions of a software product. Currently, my search page allows users to select a version of the software, then to search among all books for that version, or a single book from that version. I use two select fields for this purpose: Version: <select name="exclude"> <option value="Version6_0|Version7_0|Version7_1|Version7_2">Version 7.5 <option value="Version6_0|Version7_0|Version7_1|Version7_5">Version 7.2 <option value="Version6_0|Version7_0|Version7_2|Version7_5">Version 7.1 <option value="Version6_0|Version7_1|Version7_2|Version7_5">Version 7 <option value="Version7_0|Version7_1|Version7_2|Version7_5">Version 6 </select> Book: <select name="restrict"> <option value="">All <option value="A">Book A <option value="B">Book B <option value="C">Book C <option value="D">Book D <option value="E">Book E <option value="F">Book F </select> However: the set of books available is not exactly the same for each version of software: one version might have books A, B, C, and D; another might have B, C, D, and E, and one might have only D and F. I'd like for the items available in the 'Book' select field to be populated based on the 'Version' chosen by the user, so it only contains the books that are applicable to that version. Is there a way to do this with JavaScript? Thanks -- Kyle This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general