📜  $(this).data() - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:00.908000             🧑  作者: Mango

代码示例3
1
JS $( "div" ).data( "role" ) === "page"; $( "div" ).data( "lastValue" ) === 43; $( "div" ).data( "hidden" ) === true; $( "div" ).data( "options" ).name === "John";