Is this better than the following??
- var product = $(this).parent().siblings('.title').html();
I've also update the HTML.
As you can see I now have new elements,
how can I separate them in the textarea without copying all the script and changing clases, is it posible?
I want first father to apear, then all the elements below if that were checked and then the same with second father.
The fiddleAnd one last thing, can you advice how do I wrappe it in IF, so if non selected display something?
Thanks a lot for your help,