-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect after pressing OK , in the Confirm alert. #319
Comments
Maybe this could help you.. |
Alright. Thanks! On Wed, Mar 25, 2015 at 4:36 PM, Brian notifications@github.com wrote:
|
Passing another callback to the second swal seems to be a problem. have you found a solution? |
I'll close this since it's not an issue. |
@t4t5 - Can the second swal function confirm have a callback function? doesn't seem to work to me. |
@t4t5 Hey thanks for SweetAlert :) I found the solution for this issue and sharing it below. @mp3il @azlannohara @masteradhoc The problem is the shorthand in the closure. You can do the required(Reload after clicking on "Okay" that appears after successful deletion) by using the below code:
|
I used this code but Show error
|
@introwit it's working and grate. thanks |
Hello all. I been using the confirm alert.
Can I redirect/reload page after the user click OK on ("Deleted!", "Your imaginary file has been deleted.", "success") ?
The text was updated successfully, but these errors were encountered: