jquery data when element has children : suppose I have in html 

     <li class="media_item upload" data-actions-permissions="{}" data-info="{}">
        <p></p>
     </li>
how do I get the `data-info`?

What i know is if I have 

     <li class="media_item upload" data-actions-permissions="{}" data-info="{}">
     </li>
I can use `$(".media_item.upload").data("info")`