samedi 26 mars 2016

sweetalert pop box display onSubmit form

i want to display sweetalert box onSubmit form to display some links . please advice ..

   @if (Session::has('sweet_alert.alert'))
    <script>
        swal({
        title: "Thank you for submitting the form",
         html:true,  text:'<button><a href="">>download pdf<a></button>',
        type: "success",
        showCancelButton: true,
        confirmButtonColor: "#DD6B55",
        confirmButtonText: true,
        closeOnConfirm: true

        });
    </script>
@endif

this is my current alert , i want to display it form onSubmit, pls advice



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire