how to get parent div number in jquery code example Example: select parent of element jquery $(this).parent(); // jquery