You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right--that's fine. What's confusing is if the documentation implies that .data("name", null) will have the same effect as .removeData("name"). It will not:
.data("name", null) will set the value to null (future calls to .data("name") will yield null)
.removeData("name") will remove the data item entirely (future calls to .data("name") will yield undefined)
From the OP:
From @rwldrn:
The text was updated successfully, but these errors were encountered: