Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Do you use data() or attr() to update the value?These functions store data differently, and are not in sync with each other's changes.My guess is that you used attr('data-diff', 'xxx') to update the value, instead of data('diff', 'xxx').
Do you use data() or attr() to update the value?
These functions store data differently, and are not in sync with each other's changes.
My guess is that you used attr('data-diff', 'xxx') to update the value, instead of data('diff', 'xxx').
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences