<div class="parent"> <div class="child">HELLO 1</div> </div> Please tell me, when calling functions, pass the innerHTML of the child block through parent? For example, like this:
$document.ready{function(){ ......... options = { innerHTML:$(this).children('.child').html(); }; $('.parent').CreateBubblePopup(options); }} .PS: I wanted to do something like this , but there is the same text in all divs, and I want different texts, well, several blocks with different texts.