Hi, I have a website:
[login to view URL]
If you notice where it says "Treated Conditions Finder" you will see a dropdown menu that says "please select", I have the following code on jquery to make it work:
$('.callout fieldset ul').hide();
$('.callout fieldset label').click(function() {
if($(this).parent().find('ul').css('display') == 'none'){
$(this).parent().find('ul').css('display','block');
}
else {
$(this).parent().find('ul').css('display','none');
}
});
What I need is for someone to add a code, so it works the same as it does not BUT also when you click outside of the dropdown, it also changes the display to NONE. If you have any questions please let me know. Thanks!
Max budget $10, which is pretty simple and should be quick for someone that know what they are doing?