Являются ли атрибуты данных HTML и .data() jQuery одним и тем же?Jquery

Программирование на jquery
Гость
Являются ли атрибуты данных HTML и .data() jQuery одним и тем же?

Сообщение Гость »


В HTML можно устанавливать собственные атрибуты data- для таких элементов, как The jQuery framework has methods to do similar things ( etc). My question is do the jQuery methods just manipulate and read these html5 data attributes, or they are referring to different jQuery-type data-attributes?


Источник: https://stackoverflow.com/questions/221 ... same-thing

Вернуться в «Jquery»