Developer17 Posted April 15, 2015 at 10:17 AM Report Share #581284 Posted April 15, 2015 at 10:17 AM (edited) Olá gente, boa tarde. Tenho um formulário html com uma checkbox, a minha intenção era que, selecionando uma opção da checkbox a página faça refresh para um formulário, se seleccionasse outra opção que fizesse refresh para outro formulário..Sem clicar em submit É possivel isto usando apenas php? Edited April 15, 2015 at 10:18 AM by Developer17 Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted April 15, 2015 at 11:20 AM Report Share #581292 Posted April 15, 2015 at 11:20 AM acções a serem realizadas no lado do cliente/browser são para ser codificadas em javascript IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
Developer17 Posted April 15, 2015 at 11:26 AM Author Report Share #581295 Posted April 15, 2015 at 11:26 AM acções a serem realizadas no lado do cliente/browser são para ser codificadas em javascript Ok, obrigado 🙂 já agora como não percebo nda disso, há alguma coisa que possas aconselhar a ler? Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted April 15, 2015 at 11:30 AM Report Share #581298 Posted April 15, 2015 at 11:30 AM não, não conheço nada sobre conteúdos de programação para iniciantes. IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
KTachyon Posted April 15, 2015 at 12:28 PM Report Share #581303 Posted April 15, 2015 at 12:28 PM http://www.w3schools.com/jsref/event_onchange.asp http://www.w3schools.com/jsref/prop_loc_href.asp “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 Link to comment Share on other sites More sharing options...
Developer17 Posted April 15, 2015 at 01:50 PM Author Report Share #581308 Posted April 15, 2015 at 01:50 PM (edited) http://www.w3schools.com/jsref/event_onchange.asp http://www.w3schools.com/jsref/prop_loc_href.asp Obrigado 🙂 Edited April 15, 2015 at 02:23 PM by Developer17 Link to comment Share on other sites More sharing options...
Developer17 Posted April 15, 2015 at 02:23 PM Author Report Share #581311 Posted April 15, 2015 at 02:23 PM Obrigado 🙂 já agora, eu posso ter a checkbox em html e ter as funções em js a actuar nela? Já vi que sim, peço desculpa pela pergunta desnecessária 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