Opened 11 years ago
Closed 11 years ago
#12554 closed bug (notabug)
Have to use attr('data-id') instead of data('id')
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
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
Note: See
TracTickets for help on using
tickets.
That's the way you're supposed to do it. Ask for help on a forum if you need it.