Welcome Guest, Not a member yet? Register   Sign In
event onChange in Select box ???>
#1

[eluser]memVN[/eluser]
I want to use event onChange to get value from "select1" to "select2" but I not code it in Controller. Who can help me???

Code:
<select name="select1">
<option> value="1">value 1</option>
<option> value="2">value 2</option>
</select>

<select name ="select2">
// This is value get from select1
</select>
#2

[eluser]textnotspeech[/eluser]
What your looking for is a javascript solution called "chained selects". Google that and I'm sure you'll find plenty of ways to do what you need.




Theme © iAndrew 2016 - Forum software by © MyBB