ZS
if (e.path[1].dataset.videoid == 2) {
пишем
if (e.currentTarget.dataset.videoid == "2") {
Size: a a a
ZS
if (e.path[1].dataset.videoid == 2) {
if (e.currentTarget.dataset.videoid == "2") {
ZS
currentTarget
DS
Г
a
Г
a
Г
Г
NB
a
<style type="text/css">только ты вместо ид класс используешь, что неверно
.some-hide-class {
display:none;
}
</style>
<button onclick="document.getElementById('some-unique-id').classList.remove('some-hide-class'); return false;">button text</button>
<div class="some-hide-class" id="some-unique-id">Some hidden div</div>
DD
DD
$('#select option[value=2]').click(function(){
alert('sdadas');
});
АБ
{env: {jest: true}}
, на сайте Jest'а есть ссылка на плагин "eslint-plugin-jest". В чём отличие этих вариантов?a
АБ
{env: {jest: true}}
, на сайте Jest'а есть ссылка на плагин "eslint-plugin-jest". В чём отличие этих вариантов?DD
DD
a
DD