Welcome Guest, Not a member yet? Register   Sign In
drop down selection table
#1

[eluser]Unknown[/eluser]
hi,
I'm facing a problem like this: I've a table in 'view' page which contains country list and dealers list showing through drop down select box. What i want is for example if I select country first then automatically the dealers that belongs to this country will appear in the drop down selected box just below the country. I was trying to do this through controller but i couldn't. can anyone help me. thanks.
#2

[eluser]TheFuzzy0ne[/eluser]
If I understand you correctly, you'll need some JavaScript.

You can use onselect to tell that the selection has changed and submit the form, and your controller can then pick up on that post value and re-render the page. There are some complications here, but I'm sure they should be easy enough to get around.
#3

[eluser]Unknown[/eluser]
thanks, i thought it from the begining. hope i could do so.
#4

[eluser]geshan[/eluser]
I recommend using Jquery its great: see some examples here:

http://www.bitrepository.com/dynamic-dep...nties.html




Theme © iAndrew 2016 - Forum software by © MyBB