2
I have in an application in Asp.Net MVC a form that ends as follows
<div class="modal-footer">
<input class="btn btn-primary" type="submit" value="Salvar" />
<a class="btn btn-default" onclick="FechaModal();">Cancelar</a>
</div>
I need that as soon as the user click on the 'Save' button a pop up or alert appears with information for him and with the 'aware' button and 'cancel'. The information then of the form will only be sent to the bank after the confirmation of the aware in the pop up and not when the user clicks on the initial save. What’s the simplest way to do that?
In this function ai Fechamodal() have you tried to put a pop up and within it the logic ? Or put another recording function in the pop up calling this Fechamodal()... Maybe it works.
– Érik Thiago