Adding markup to sub menu based on class

Here is your code

<script>
 $(document).ready(function(){
 $( ".product-menu .sub-menu-level-1" ).after( "<div>SHOW ONCE</div>" );
 });
</script>

This will automatically add the div if the parent has a class name of product-menu.
Let me know if I miss something. and if this solved your issue, give a thumb