unemployment Posted May 12, 2011 Share Posted May 12, 2011 How can I bind two on blur events? I have a link that has a UL drop down. When I click off of both the link and the UL I want the drop down to disappear. Right now it only disappears after I click off of the link. allLinks[i].onblur = function() { var divId = this.id.substr(10); var list = document.getElementById('identifier_' + divId); var uncompleted = document.getElementById('uncompleted_' + divId); var on_hold = document.getElementById('on_hold_' + divId); var cancelled = document.getElementById('cancelled_' + divId); var completed = document.getElementById('completed_' + divId); removeClass(list, 'block'); }*/ Link to comment https://forums.phpfreaks.com/topic/236212-binding-two-onblur-events/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.