I need to create elements in a way that is not very confusing and easy to maintain to make a change.
Currently I do it with this code with
$('.Selector').append( '<div class="dropdown">'+ '<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">'+ '<li><a href="#">Elemento Menu 1</a></li>' '</ul>'+ '</div>' )
But it's too confusing and difficult to maintain, or make label changes.
Is there any other way to make it easier?