3
I need a little help for a situation. I need to list information within the states. EX: If I click on Acre, I need to click on a box with some information about it. But I don’t know how to make this information appear. I don’t want to use php or java, because it will be little information.
Can I only do this with html? Is there a website that explains? I did a search and I couldn’t find it.. If someone helps me, I appreciate it.! :)
<label class="estados">Selecione o estadopara exibir as informações que deseja.</label>
<select class="Test" name="tEst" id="estados">
<option value="Selecione"> SELECIONE</option>
<option value="ac"> Acre</option>
<option value="al"> Alagoas</option>
<option value="ap"> Amapá</option>
</select>
(And then all the states go on.)
You would have to use something with database for when you chose "Acre" it would make a Select in the database and return to you and you would put the information in the box.
– Willian
I think it is impossible to do this using only HTML.
– Mauro Alexandre
I’ve seen an example of this code using html, but I can’t remember which site. .
– Inez Boldrin
If you want to use only Javascript + HTML gives quietly
– Sorack
@Sorack is complicated because I don’t really understand java. Is there an article you can send me?
– Inez Boldrin
IS
Javascript
only. Only from the same browser side. I will post an answer as it would look as an alternative method if no one gives you an answer with only HTML– Sorack