Click and send Xml data and go to another Action

0

Hello, I have a problem creating an xml file and directing to another Action by clicking the same button.

Next, I have a button that when clicking it generates an xml but does not go to the target Action.

<form method="get" action="incluirOrcamento.php"><a href="pessoa_pesquisaCpfCnpj.php" target="_blank">Click</a>
    <input type="hidden" name="item_id" id="item_id" class="form-control" value="<?php echo $item_id; ?>">
    <input type="hidden" name="quantidade" id="quantidade" class="form-control" value="<?php echo $quantidadeCarrinho; ?>">
    <input type="submit" value="Finalizar solicitação de orçamento" onclick="window.location.href='http://www.hyperlinkcode.com/button-links.php'" class="btn btn-info" id="solicitacaoOrcamentos" name="solicitacaoOrcamentos">
</form>

I created a link to check if it was firing for action, just for example, but I want the Finish value button, create the xml file and already send me to the target Action.

    
asked by anonymous 16.05.2018 / 20:01

0 answers