Jump to content

Exibir Selectbox


Recommended Posts

aqui uma forma de fazer

<script language="Javascript" type="text/javascript">
function showDbox(){
var dbox = document.getElementById('lbx2');
   dbox.style = "";
<form name="f1" action="http://google.pt" method="GET">
<select name="lbx1" id="lbx1" size="1" onchange="showDbox()">
	<option selected="selected" disabled="disabled">(escolha 1)</option>
	<option value="sim">Sim</option>
	<option value="nao">Não</option>
<select name="lbx2" id="lbx2" size="1" style="display: none">
	<option selected="selected" disabled="disabled">(escolha 2)</option>
	<option value="sim">Sim</option>
	<option value="nao">Não</option>
Edited by I-NOZex

B2R » Beat2Revolution v3.0b | Regista e divulga-nos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.