Jump to content
Sign in to follow this  
Dt9Malmeida

select name

Recommended Posts

Dt9Malmeida

como e que posso fazer um select name encadeado com outro ?

isto é, apresentar uma lista de opções conforme o conteúdo que estiver seleccionado no outro.

Share this post


Link to post
Share on other sites
KTachyon

Não percebi exactamente do que estás a falar, mas...

select nome, email from ...

Isto?


“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.”

-- Tony Hoare

Share this post


Link to post
Share on other sites
Dt9Malmeida

não, o problema e o seguinte:

estou a desenvolver um site do género stand virtual e no formulário de pesquisa de carros tenho uma combo box com todas a marcas de carros, mas também quero meter uma combo box para o modelo que deverá mostrar valores conforme a marca que for seleccionada antes, será que me consegues ajudar ?

Share this post


Link to post
Share on other sites
KTachyon

Ou seja, seleccionando uma marca, só aparecem os modelos dessa marca? Isso tem que ser feito do lado do cliente, em JavaScript.


“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.”

-- Tony Hoare

Share this post


Link to post
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
Sign in to follow this  

×
×
  • 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.