good day. there is such a markup structure:
<div class="container"> <div class="item1">...</div> <div class="item2">...</div> <div class="item3">...</div> </div> How to get html() specific item , but with a parent block? those. now $(this).html() will return to me ... but I need to get <div class="item1">...</div> how to do this? (there is an opportunity for jsʻom to draw the parent block, but suddenly block attributes may be needed, the structure for obtaining such a block is of interest)
getmethod returns the HTMLElement itself, not the markup (string) - in the question it corresponds tothis. - Grundy