I`m new in JS, I`ve learn it since a few days and I must use it to do my work (I`m writting advanced PHP scripts). I have this problem.
I have some form with <select> section and I need when user check some option below will display rest form.
My form look like this:
<form name="test" id="test" onChange="return printRest()"> <select name="size"> <option value="100">100</option> <option value="200">200</option> </select> </form>
So, now I don`t know how will look function printRest(). It`s its goal:
- when user check first option, on the same page, in the same form, without reload, should print something like this:
<select name="size"> <option value="200">200</option> <option value="400">400</option> </select>
- when user check second option, something like this:
<select name="size"> <option value="400">200</option> <option value="600">400</option> </select>
It`s only for e.g.
I count on you!


Sign In
Create Account


Back to top









