2012-05-30 103 views
0

我#anotherdiv不能點擊鏈接()

內,但通過設計#anotherdiv時#thediv被取消隱藏鏈接。

當我點擊一個鏈接,我怎麼能得到它觸發之前,父div被隱藏?

謝謝!

$('#thediv').livequery("blur", function(e){ 
      $('#anotherdiv').hide(); 
}); 
+0

請郵寄基本標記/ JS/CSS – rt2800

回答

0

您可以嘗試推遲hide()了一下:

$('#thediv').livequery("blur", function(e){ 
    setTimeout(function() { $('#anotherdiv').hide() }, 50); 
});