 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
ramsaritha Smarty n00b
Joined: 14 Jun 2012 Posts: 1
|
Posted: Thu Jun 14, 2012 9:42 am Post subject: getting dynamic dropdown list based on onchange event |
|
|
Hello,
I am tring to get the dynamic dropdown list like after selecting country from first dropdown then the state dropdown changes according to the selection of country (both country and state values are fetched from database)
please some one send me code |
|
| Back to top |
|
tsudeki Smarty Rookie

Joined: 22 Mar 2006 Posts: 13
|
Posted: Thu Jun 14, 2012 2:54 pm Post subject: Re: getting dynamic dropdown list based on onchange event |
|
|
| ramsaritha wrote: | | please some one send me code |
That's not exactly how things work. We will happily provide assistance if you're having trouble, but no one is going to do the work for you.
I took the liberty of googling the question for you though:
http://stackoverflow.com/questions/5686735/populate-one-dropdown-based-on-selection-in-another
If you don't understand the answer in the link above, then you need to pick up a book or two on HTML and JavaScript. |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|