I got this issue, In the above html I cannot click on the dropdown menu, I went wrong some where ,my dropdown menu in this code is not working can any one please let me know where i went wrong? CSS:
Javascript:
<script type="text/javascript">
$(function() {
$('.menucontainer').hide();
$('#container').sortable({
handle:'h1',
scroll: false,
revert: true,
tolerance: 'pointer'
});
$('.dropmenu').on('click', function(){
var $ul = $('.menucontainer', this);
$ul.show(500);
console.log( $ul );
return false;
});
$('html').on('click', function() {
$('.menucontainer').hide(500);
});
});
</script>