ricardocoimbra Posted January 9, 2008 at 03:39 PM Report Share #158872 Posted January 9, 2008 at 03:39 PM <select name="distrito" class="campoform"> <option value=""></option> <option value="1">Braga</option> <option value="2">Porto</option> </select> echo"$distrito"; Existe alguma forma de obter logo o respectivo Distrito sem fazer refresh? Apenas selecionar o distrito e retornar logo o valor em baixo. Dizem que é possivel fazer com ajax ou javascript, se me pudessem dar um exemplo agradecia. Link to comment Share on other sites More sharing options...
NCS_One Posted January 9, 2008 at 04:17 PM Report Share #158879 Posted January 9, 2008 at 04:17 PM Ois Tens aqui um : http://www.w3schools.com/ajax/ajax_responsexml.asp Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
ricardocoimbra Posted January 9, 2008 at 04:57 PM Author Report Share #158901 Posted January 9, 2008 at 04:57 PM Era mesmo isso que eu pretendia NCS_One , mas aquela ultima parte nao percebo tá em asp, e pretendia retornar os resultados em php Ois Tens aqui um : http://www.w3schools.com/ajax/ajax_responsexml.asp Link to comment Share on other sites More sharing options...
NCS_One Posted January 9, 2008 at 05:12 PM Report Share #158905 Posted January 9, 2008 at 05:12 PM Ois Tens este em php : http://www.w3schools.com/php/php_ajax_responsexml.asp Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
ricardocoimbra Posted January 9, 2008 at 05:40 PM Author Report Share #158910 Posted January 9, 2008 at 05:40 PM Pbrigado mais uma vez, era mesmo isso que eu cria 🙂 Ois Tens este em php : http://www.w3schools.com/php/php_ajax_responsexml.asp Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now