Ticket #12554 (closed bug: notabug)
Have to use attr('data-id') instead of data('id')
|Reported by:||anonymous||Owned by:|
Recently I have been wordking with jsTree and I found something that seems to be related to jQuery.
When working with this draft, one have to use attr('data-id') in order to change the data attribute because the data('id') function does not work.
Howevere when it comes to reading it seems that both functions work well