[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

repost: html select with xml

Subject: repost: html select with xml
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Fri, 18 Oct 2002 09:28:29 -0500
html select javascript
Repost: Some html and xsl guru's help needed - want it to look something
like this http://javascript.internet.com/forms/dropdown-box-population.html

===========================

I am trying to create an interface like they have on autos.com or cars.com
where when u select the car type from a drop down, the car models show up, u
select the car model and the car year shows up. and etc.

I am trying to this with xml data and javascript and xsl and coming up a
blank. Does anyone know any example scripts out there. This is a snippet of
my code. If someone can help me advance that wud be gr8 too.

<div id="drop" class="dropper" align="left">
     <form name="locate" class="dropper">
     <table border="0" cellspacing="2" cellpadding="2">
      <tr>
       <td><u>Navigate to:</u></td>
      </tr>
      <tr>
       <td>Group</td>
       <td>
        <xsl:for-each select="DG">
         <select name="DG" onchange="javascript:??????;">
          <option>
          </option>
          <option>
           <xsl:attribute name="value">
            <xsl:value-of select="dgN"/>
           </xsl:attribute>
           <xsl:value-of select="dgN"/>
          </option>
         </select>
        </xsl:for-each>
       </td>
      </tr>
      <tr>
       <td>Cab</td>
       <td><select name="Cab"
       onchange="javascript:holdOn()">
       <option value="cab">????</option>
       </select></td>
      </tr>
        etc???
        </table>
     </form>
    </div>

Thanks.

TP

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: xsl:processing-instruction, (continued)
    • David Carlisle - Mon, 14 Oct 2002 11:25:18 -0400 (EDT)
    • TP - Mon, 14 Oct 2002 15:03:16 -0400 (EDT)
      • Mike Brown - Mon, 14 Oct 2002 15:53:21 -0400 (EDT)
        • TP - Mon, 14 Oct 2002 16:29:46 -0400 (EDT)
        • TP - Fri, 18 Oct 2002 10:25:33 -0400 (EDT) <=
    • DPawson - Mon, 14 Oct 2002 11:07:44 -0400 (EDT)
    • Andrew Welch - Mon, 14 Oct 2002 11:41:03 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.