but when i'm using this code, it can't work
$j(document).ready(function ($) {
$j('div.dropdown').each(function () {
var $dropdown = $j(this);
$("a.dropdown-link", $dropdown).on('focus',function () {
$div = $('div.dropdown-container', $dropdown);
$div.show();
$('div.dropdown-container').not($div).hide();
return false;
});
});
$j('html').click(function ($) {
$j('div.dropdown-container').hide();
});
});