Topic: Remote .php in modal - Bootstrap 4?
oldcelt free asked 4 years ago
I want to pop up a window displaying a price list contained in a separate .php file. The .php file is editable using a CMS system so the client can keep prices up-to-date.
This was easy in basic HTML pages using the window.open() method. I can't quite see how to achieve this with Bootstrap 4.
Would appreciate some help on this - TIA.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.12.0
- Device: Laptop
- Browser: Opera
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Mateusz Łubianka staff commented 4 years ago
Hi,
please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.
Best,
oldcelt free commented 4 years ago
I keep getting this error message when I try to create a snippet.
"404. That's an error. The requested URL was not found on this server."
Mateusz Łubianka staff commented 4 years ago
I'm not sure I understand you correctly, but if yes you can use modals to open an element with some data. https://mdbootstrap.com/docs/jquery/modals/basic/
Best,