Change Text Inside an Element Using jQuery, jQuery in freeCodeCamp

Change Text Inside an Element Using jQuery, jQuery in freeCodeCamp

We Will Code

7 лет назад

3,219 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Miriel_Lind
@Miriel_Lind - 04.05.2017 16:56

Ehi , can i ask you please why we need to use the tags <em> </em>?

Ответить
@lightpinkaura
@lightpinkaura - 15.05.2017 16:26

Thanks for explaining it so simply. I always try to figure it out on my own first, and if I do get stuck i come to your walk-throughs. Really helps! 👍

Ответить
@wrc258
@wrc258 - 04.04.2018 15:08

its getting more difficult now :/ Thanks for your help.

Ответить
@samiRediAmaniTekeshAlazar
@samiRediAmaniTekeshAlazar - 10.08.2021 11:31

what if we have elements with same class name how to target each using index , $(".same")[0].text()='new line' why is this not working to specifically target only the first element to change its text among other elements with the same class named ''same''?

Ответить