亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - How to get the custom data attribute value of option using jquery
我想大聲告訴你
我想大聲告訴你 2017-05-18 10:54:28
0
3
599

How to get the custom data attribute value of option using jquery

我想大聲告訴你
我想大聲告訴你

reply all(3)
習(xí)慣沉默

You really answered, it seems that they are so spoiled that they are too lazy to check the API. They would rather ask a question on segmentfault. Do you think this is more efficient?

我想大聲告訴你
$('option').attr('data');
大家講道理

例:
<p id="E1" data-some="test">
var value = $('#E1').data('some');

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template