Topic: Transfer plugin: get transferred data
Hi I want to try the transfer plugin and trying to save the data with an ajax script. How do i get the transferred data? Taking basic example from documentation:
const transferEl = document.getElementById('mdb-transfer') transferEl.addEventListener('change.mdb.transfer', (e) => { //here i want to fetch last transferred element(s) })
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.0.1
- Device: Desktop/Laptop
- Browser: all browsers
- OS: Windows 10/11
- Provided sample code: No
- Provided link: No
Related topics
tlippuner pro premium priority commented 2 years ago
I think i found it, in the sentItems --> e.sentItems[0].data
Thanks anyway :-)
mlazaru staff commented 2 years ago
I am glad that you were able to solve the problem on your own. If you encounter any difficulties, feel free to open a new ticket!