javascript - Chrome + JSFiddle OPTION element bug -
this has me scratching head.
the option text cleared using code in snippet:
document.queryselector('option').textcontent = '';
<select> <option>ipso</option> </select>
it works in codepen, plus works on website.
however, in jsfiddle fails – but in chrome.
if set textcontent
prior clearing it, it works.
this issue doesn't seem occur other type of element.
if use innertext
or innerhtml
instead of textcontent
, same behavior – again, in chrome. jquery's text() method gives same behavior.
is chrome bug or jsfiddle bug?
i don't know reason bug, try setting load type (click cog in top right corner of javascript frame) , select no wrap - in <body>
.
it works on chrome browser on phone (whilst fiddle didn't), , possibly explain what's gone wrong.
Casino & sports wagering - DrmCD
ReplyDeleteCasino & 보령 출장샵 sports 양산 출장마사지 wagering 파주 출장샵 · 대구광역 출장샵 1 – 888casino.com · 2 – SlotsUp.com · 3 경상남도 출장마사지 – Pokerstars Casino.