Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Transfer plugin: get transferred data

tlippuner priority asked 2 years ago


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) })


tlippuner priority commented 2 years ago

I think i found it, in the sentItems --> e.sentItems[0].data

Thanks anyway :-)


Mateusz Lazaru 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!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Priority
  • 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