2
I have a project ready and I need to make a change. When I delete a record I callprint "javascript:if(confirm('" . $msg . "'))";
,
however I need to ask the reason for the deletion. I would like to ask this reason with a prompt.
The user will click the button, and a prompt will appear asking the reason for the deletion. If fill and click ok, I take this amount and forward with href
:
<a href=" <?php msg("Deseja desvincular associado?") ?>
{location='?pagina=alu&acao=excluir&
cd_aluno=<?php echo $oquefazer->registros->cd_aluno; ?>';}">
<button class="btn"><p class="icon-remove-sign"></p></button>
</a>
You can use ajax?
– rray
Thank you. I made a gambit and resolved
– Kleber Souza