Posted by Isak on November 30, 2012 at 6:42am
How can i do(in php or html) to select list whith that balise
<select name="choix">
<option value="Paris">Paris</option>
<option value="Lyon">Lyon</option>
<option value="Marseille">Marseille</option>
<option value="Londres">Londres</option>
</select>for example when he choose in the first Paris and in the second Marseille, it display a popup whith text about the two city
Comments
Your requirement is not clear
Your requirement is not clear to me.
Please write in detail what you want to achieve.
It sounds, you may need to use the JavaScript.
-Imran
What i need is two combo list
What i need is two combo list for example in the first u must select a city, in the 2d u select your destination city, so when u validate it must display distance between the two city, the duration of the travel.....
You want the #ajax attribute
You want the #ajax attribute of the Form API.
Jaypan We build websites
Form API helps ;)
http://api.drupal.org/api/drupal/developer!topics!forms_api_reference.html/7#ajax_event
Until the server crashes you're doing it quite right