var mySpan = $('<span class="dropdown"></span>');
$('.header-top-registro>.menu-mobile>li').append(mySpan);
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
<div class="header-top-registro">
<div class="menu-mobile" style="right: 0px;">
<li>
</li>
</div>
</div>
your help please I am using this code to insert a span into my html, the problem I have every time I refresh or resize starts to double the span, as I avoid duplicity, thanks
var mySpan = $('<span class="dropdown"></span>');
$('.header-top-registro>.menu-mobile>li').append(mySpan);