I want to write a Javascript function to change the text Lasvegas in string:
example:
“Hello every one in Lasvegas, come to <a href=’xxx’>Lasvegas</a> with me“
How can I change the text “Lasvegas” but not change the content Lasvegas that is in an HTML tag?
May be something like that