Questions tagged as 'sweetalert'

1
answer

how to assign the value of a variable django to a variable in angularjs

Greetings, I have the following problem with my django application, I use swwetAlert to show messages in my web interface, but I want the message that is generated in my view to be displayed in my template, for this I need to store in a javascri...
asked by 09.01.2018 / 20:46
1
answer

Sweet alert problem in JSF

I am trying to integrate the sweet alert plugin in a boto in JSF to show a presentable confirmation window, the problem is that pressing the button opens the sweet alert but still executes the action of the controller without taking into account...
asked by 10.12.2018 / 21:16
2
answers

Validate SweetAlert button in JS

I would like to know how to validate if the agregar of sweetAlert button is pressed, in my condition I am handling amounts if the one you want to enter is greater than your% allowed%, let you know that you are exceeding and if choo...
asked by 16.11.2018 / 17:47
1
answer

Problem with Sweet Alert in modal

I'm doing a modal with a form in HTML. Once the fields are validated in JavaScript (it is already working correctly) I want to show a Sweet Alert alert to confirm the sending when I press the submit button. If the user does not confirm the shipm...
asked by 08.11.2018 / 18:41
0
answers

sweetAlert 2 with parameter delivery

Good I have this function of confirmation to delete a record as I can do it for at the moment of confirming to send a parameter of the form towards another php file to proceed to eliminate the registry obviously with ajax. Greetings function...
asked by 08.11.2018 / 18:48
1
answer

Jquery validate works after Sweet Alert

Well, all the input of the form I put "required" and they work perfect. Now I put the sweet alert of the form's sending confirmation and it does not check that they are completed .. It sends them empty, even if they say "required" .. jQu...
asked by 25.10.2018 / 16:26
0
answers

How to place a php code inside a scrip in a .php file?

I have an MVC project and in my controller file I have a case that evaluates the action I execute, in the delete action I want to place a SweerAlert alert that contains an ok and a cancel that when the ok button is deleted , before using sweerAl...
asked by 16.09.2018 / 02:06
2
answers

Is it possible to create a mailto with SweetAlert?

I'm doing a web page, and I'd like to add a mailto (send an email), through SweetAlert, but it gives me an error and disables some dynamic buttons that I have. Does anyone know if it is possible to do it? I enclose my code in case you can help m...
asked by 23.07.2018 / 13:09
2
answers

Can you make SweetAlert work by clicking on a text?

I'm making a web page, and until now I used the JS alert. I had made a text, and, clicking, I jumped an alert. It was of this type: <a href Onclick="alert("Texto")">Haz click aquí</a> And I want to know if it can be done with...
asked by 21.07.2018 / 20:57
1
answer

Do not open sweet alert

I previously have this code that works, I want to add a message confirming the entry of the data <script type="text/javascript"> function AlertAgendado() { var form = $("#FormAgendado"); var url = form.attr("action");...
asked by 15.06.2018 / 16:59