Jump to content

Simple question


mmarif4u

Recommended Posts

hi guys this is a simple question but out of mind this time...

i have a dropdown on my one page it have 6 choices for example(1,2,3,4,5,6)

when a user select 3, then 3 textboxes appaer where they fill it, if 2 then 2texbox and so on...

i know that javascript can do it, but how bcoz i am good in js.

this is the dropdown button code.

<tr>
    <td align="right">
            <p>No. of cildren :</p>
        </td>
    <td align="left">
    <select class="textbox2" name="child">
<option value="1">1</option>
<option value="2">2</option>
<option value="3" selected="selected">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
    <font color="black" size="3"><tt><b>*</b></tt></font>
    </td>
    </tr>

Can any one point me some good stuff.

Any help will be appreciated.

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/43801-simple-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.