I wanted to have the first nth-child, which is filled dynamically by aggregation and I do not know how to get it.
$("ul > li > a > span.menu-item-text:nth-child(1)").text("Primer Inicio");
ul {
padding: 0;
margin: 0;
}
ul > li {
list-style: none;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<ul class="test static">
<li class="static">
<a href="#">
<span class="menu-item-text">Frist (solo quiere cambiar "Primer Inicio")</span>
</a>
</li>
<li class="static">
<a href="#">
<span class="menu-item-text">Two</span>
</a>
</li>
<li class="static">
<a href="#">
<span class="menu-item-text">Tree</span>
</a>
</li>
</ul>