I have a href tag and there is a tag next to it . I want to add new text between the bold tag.
<a href=""></a> <b>old text</b>
So, in my click handler, how can I get a link to the text between the bold tag?
I know that there is $ (this + b), but how can I make sure that it receives only the first and not ALL the following elements (for example, in the jquery example).
source
share