[Edge]⛌?。→、、
Text がホワイト スペースしか包含しているかどうかを Boolean で返します。
Text | Text。 |
---|
¶
HTML:
<SPAN id=IdTest>[SPAN要素。テキスト]</SPAN><BR> <SPAN id=IdTest2>[SPAN要素。テキスト ]</SPAN><BR>
JavaScript:
D=IdTest.isElementContentWhitespace; //=[undefined]:undefined D=IdTest2.isElementContentWhitespace;