Jump to content

Binding two onblur events


unemployment

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.