Im trying to create a dropdown list where when the value is selected it would display another form, for some reason it doesn't seem to work...

**HTML:**

```
<select id='purpose'>
        <option value="0">Nameglow</option>
        <option value="1">Namecolor</option>
        <option value="2">Bubbleglow</option>
        <option value="3">Bubblecolor</option>
    </select>

    <form id="nameglow">
            <input class="jscolor" type="text" name="nameglow" maxlength="6" id="color">
            <input type="button" value="Change" onclick="changeNameglow()">
    </form>

    <form id="namecolor">
        <input class="jscolor" type="text" name="namecolor" maxlength="6" id="color">
        <input type="button" value="Change" onclick="changeNamecolor()">
    </form>

```

**JQUERY:**

```
$('#purpose').on('change', function () {
    switch (this.value) {
            case 0:
                $("#namecolor").hide();
                $("#bubbleglow").hide();
                $("#bubblecolor").hide();
                $("#nameglow").show();
            break;
            case 1:
                $("#nameglow").hide();
                $("#bubbleglow").hide();
                $("#bubblecolor").hide();
                $("#namecolor").show();
            break;
            case 2:
                $("#namecolor").hide();
                $("#nameglow").hide();
                $("#bubblecolor").hide();
                $("#bubbleglow").show();
            break;
            case 3:
                $("#namecolor").hide();
                $("#nameglow").hide();
                $("#bubbleglow").hide();
                $("#bubblecolor").show();
            break;
    }
});

```

**CSS:**

```
 #nameglow {
        display:none;
    }

    #namecolor { 
        display:none;
    }

    #bubbleglow { 
        display:none;
    }

    #bubblecolor { 
        display:none;
    }

```

I tried using javascript but I'm facing the same issue..I prefer using jquery, can anyone tell me what I'm doing wrong? I haven't added the bubble glow and bubble color form yet.