I am aiming for a seamless operation of both JavaScript scripts. The first one being:
$('.dropdown').click(function()
{
$('.dropdown-menu').toggleClass('show');
});
The second script is:
$(document).ready(function(){
$('#myTable').dataTable();
});
It should be noted that each script works fine on its own. How can I ensure they both work together smoothly?