[thelist] simple Javascript help

Drew Shiel ashiel at sportsinteraction.com
Fri Nov 1 07:59:01 CST 2002

I will freely admit that I'm no good at all at Javascript. And all the
scripts I can find on the web do something similar, but not the same.

What I need to happen is for the second drop-down (banner size) to appear
when the option in the first dropdown (category) is "banner".

Here's what I have:

                         <select name="type" OnChange="CheckBanner(this)" >
                                 <option>Type of Promo Tool</option>
                                 <option value="All">All</option>
                                 <option value="Banner">Banner</option>
                                 <option value="Text Link">Text Link</option>
                                 <option value="Web Services">Web
                                 <option value="Web Services">Content</option>
                         <script language="JavaScript">
                         function CheckBanner(Option_List){
                         var Checkee =
                         if (Checkee == "Banner")
                         document.write ("<select name=size>
                                 <option>Banner Size</option>
                                 <option>60 x 60</option>
                                 <option>120 x 60</option>
                                 <option>180 x 60</option>
                         // -->



Drew Shiel                               webmaster at swiftpay.com
Swiftpay -- The best way to pay online -- http://www.swiftpay.com

More information about the thelist mailing list