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.
Code JavaScript: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'); }



Reply With Quote

Bookmarks