jquery set parent attribute code example Example: jquery get the parent node $(selector).parent(filter)