Did you know that textContent and innerText, while similar properties, actually have differences in their values that could impact your project? Code from video: gist.github.co...
Пікірлер: 12
@MarkAngeloTorres-s8g Жыл бұрын
thanks steve
@RaghavendraMorisetty-ze6uu8 ай бұрын
Thanks...after seeing so many videos at last your video made me clear
@QaisZayed.work906 ай бұрын
textContent shows the element in the page or console if its hidden by Css display: none; , but innerText doesnt . so how u saying it doesnt shown on textContent Feature??
@ajithmoni1712 Жыл бұрын
Thank you very much. This was really useful
@Icode239511 ай бұрын
Thanks A Lot For Your Clear Explaination.
@lonniesmith8093 Жыл бұрын
Great explanation!
@anasouardini Жыл бұрын
Hmm, I can't find your channel on odysee!! Good content BTW.
@devstefancho Жыл бұрын
Thanks, If I understand right, innerText is a better option for navigator.writeText to copy contents same as what user see in web page.
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Probably. My point is just to be aware that there is a difference and consider how it impacts what you are building.