Комментарии:
what about text in textarea?
Ответитьit doesn’t work for textarea if i edit what should i change?
Ответитьwhy do you use while?
you can use regexp - its much simpler, works faster and isn't case sensitive
p.textContent.replace(new RegExp(find, 'gi'), replace)
Hello sir, can you do a video on multiple search and replace? I mean searching for more than one words
ОтветитьAnother very cool tutorial!
ОтветитьCan Anyone one help me out "Joan Smith" or "Matthew Joan Smith" how I will get only first and last word from these string.Answer must be : - for "Joan Smith" it will be (JS) and for "Matthew Joan Smith" it will be (MS).
Ответитьsir for case sensitive what i will be use?
Ответитьsir i want to replace text inside textarea field not in paragraph what is JavaScript code for it
ОтветитьHello Steve. I want to know how to do the find and replace trick but when finding multiple different items e.g. vowels. Is this possible using this method? I want to go through a string and replace all vowels. TIA!
ОтветитьTo keep each tutorial at this high quality is not a easy thing, Thank you from my heart.
ОтветитьFire! Thanks so much for making this tutorial and thoroughly explaining your code!
ОтветитьSpot on!!! Thanks a ton Steve.
ОтветитьReally appreciate the content Steve
ОтветитьYou keep posting great JS tutorials on topics I didn’t know I wanted to learn. Keep them coming!
Ответить