GpL Posted November 22, 2007 at 04:43 PM Report Share #149416 Posted November 22, 2007 at 04:43 PM boas.. alguem sabe como posso ter um form que chama um ficheiro asp, em html ,com 1 botao adicionar e outro remover (da base de dados), e cada botao a usar um script asp diferente ? espero ter me feito entender .. Link to comment Share on other sites More sharing options...
hma Posted November 22, 2007 at 09:16 PM Report Share #149518 Posted November 22, 2007 at 09:16 PM Uma forma é utilizar javascript para mudar o "action" do form ao carregar nos botões. Algo deste tipo: function submit_form (pagina_alvo) { form.action = pagina_alvo; form.submit(); } 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