<div class="btn-group open"> <button class="btn btn-mini" data-toggle="dropdown">AN</button> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><input type="checkbox" name="currency[]" value="1" id="1"> <span>AZN</span></li><li><input type="checkbox" name="currency[]" value="3" id="3"> <span>EUR</span></li><li><input type="checkbox" name="currency[]" value="4" id="4"> <span>RUB</span></li> </ul> </div>
$(document).ready(function(){ $('.dropdown-menu').blur(function() { alert('s'); $(this).hide(); });
onblur
onmouseleave
onmouseout
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)