How to correctly find elements in DOM using parent()
Hello,
I am doing this code that has multiple elements of the same type.... to select the parent DIV I had to use this code:
- $(this).parent().parent().parent().parent().append($('#grid_show_columns'));
How can I do it without using that many parent() ?
Thanks,
Gabriel