.children.children.children.children, is there an easier way?
Hey Guys, firstly thanks for taking the time to read this!
So I'm just starting out, and having a little difficulty understanding how to target other html markup around a certain 'on click' item.
here's the setup:
<a> - Click Function
So when the user clicks the anchor the text is inserted into the following textarea. I achieved this by:
Is there an easier way?
- $(this).nextAll('ul.replies').children('li').children('form').children('p').children('textarea').val($areaValue + $username);