Hello i have a problem i am using uikit to make a dropdown and i have some problems adding a data class after the css for example:
<div class="uk-dropdown"data-uk-dropdown></div>
What i need to add is the "data-uk-dropdown". I tried with some jquery but it only seems to add it next the uk-dropdown but not after the "".
what i tried to use :
jQuery(document).ready( function() {
$( ".uk-navbar-nav .meny-item" ).addClass( "",'uk-data-dropdown' );
} );