question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hallo,

first, thank you for the great script! I have a question, how I can do that:

I open a Sweetalert PopUp with via Button. This PopUp shows a Message with a continue Button like in your example “Chaining modals example”. I wont to load the content of a another page via ajax in the Sweetalert PopUp after clicking the continue button.

$('div.swal2-content').load('index.php?route=common/cart/info ul li');

But I cant attach this to the text section like this: { title: 'continiue', text: $('div.swal2-content').load('index.php?route=common/cart/info ul li'); }, Can you help me please ? Best regards

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
acupofjosecommented, Jun 26, 2016

@quma you actually can do this with the new onOpen method added. You just have to get a little creative: https://jsfiddle.net/gr197j8n/3/

1reaction
limontecommented, Jun 26, 2016

nice trick @acupajoe!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NIMH » My Mental Health: Do I Need Help?
If so, here are some self-care activities that can help: · Exercising (e.g., aerobics, yoga) · Engaging in social contact (virtual or in...
Read more >
Get Immediate Help | MentalHealth.gov
Emergency Medical Services, 911. If the situation is potentially life-threatening, get immediate emergency assistance by calling 911, available ...
Read more >
Call 211 for Essential Community Services | United Way 211
Get help paying bills, finding food, and locating other resources near you. Call 211 now for confidential help from a caring expert.
Read more >
“I Need Help”: How to Get the Help You Need | Talkspace
Reaching out to someone is not always easy, especially when it comes to mental health. Use Talkspace to find the help you deserve....
Read more >
findhelp.org by findhelp - Search and Connect to Social Care
Search and connect to support. Find financial assistance, food pantries, medical care, and other free or reduced-cost help in your area, anywhere in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found