This works. Thanks
On May 24, 11:29 pm, Ricardo wrote:
> Set a flag on mousedown on the DIV to prevent blur (mousedown fires
> first):
>
> $().ready(function(){
> var divclick = false;
>
> $('#aa')
> .focus(function() {
> $('#bb').show();
> })
> .blur(function() {
> if ( divc
Set a flag on mousedown on the DIV to prevent blur (mousedown fires
first):
$().ready(function(){
var divclick = false;
$('#aa')
.focus(function() {
$('#bb').show();
})
.blur(function() {
if ( divclick ) return( divclick = false );
$('#bb').hide();
});
$('#bb')
.click(fu
2 matches
Mail list logo