Topic: Calling PHP script from drag and drop REMOVE BUTTON
rt133813 pro answered 6 years ago
Thanks for that info Ania. I have not tried it, but will keep it in my toolbox as I already did it a different way. But I always like to say thank you to the folks that try to help me :)
Anna Morawska staff commented 6 years ago
Thank you, it's an awesome approach, it's nice to hear :) Happy coding
Anna Morawska staff answered 6 years ago
Hi there!
You can call a PHP function from JS using ajax calls - you can find plenty of resources on the internet, please check it out. If you will have any futher questions, just ask here :)
In general, it should look something like this:
$('.mdb-upload .btn-danger').on('click', function(){
jQuery.ajax({
type: "POST",
url: 'your_functions_address.php',
...
})
Best,
Ania
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.5.10
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No