making select visible \ invisible

Discussion in 'Javascript' started by R.G. Vervoort, Apr 12, 2004.

  1. is it possible to make an select visible or invisible by selecting a
    checkbox.

    Thanks for suggestions

    Roy
    R.G. Vervoort, Apr 12, 2004
    #1
    1. Advertising

  2. found it

    <script language="JavaScript">
    <!--
    function Menue()
    {
    if (document.all.naam_keuze.style.visibility == "hidden")
    {
    document.all.naam_keuze.style.visibility="visible"
    }
    else
    document.all.naam_keuze.style.visibility="hidden"

    }
    //-->
    </script>


    <body>

    <input type="checkbox" name="Internet" value="OFF" onClick="Menue()">


    <select id="naam_keuze" size="1" name="Bereich">
    <option selected value>-- bitte auswählen --</option>
    <option>Marketing</option>
    </select></div>





    </body>



    "R.G. Vervoort" <> schreef in bericht
    news:407ae7d6$0$570$4all.nl...
    > is it possible to make an select visible or invisible by selecting a
    > checkbox.
    >
    > Thanks for suggestions
    >
    > Roy
    >
    >
    R.G. Vervoort, Apr 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Susan van Houen

    making webcontrols visible/invisible

    Susan van Houen, Jul 13, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    563
    Anatoly
    Jul 13, 2003
  2. SP
    Replies:
    1
    Views:
    941
  3. Andy B
    Replies:
    5
    Views:
    587
    Andy B
    May 29, 2008
  4. Stuart Wexler

    making your page invisible then visible

    Stuart Wexler, Jul 22, 2003, in forum: Javascript
    Replies:
    2
    Views:
    142
    Grant Wagner
    Jul 22, 2003
  5. Harry Gould
    Replies:
    4
    Views:
    173
    Harry Gould
    May 28, 2004
Loading...

Share This Page