-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have 2 tabs one is Parent tab and other is child tabs.I have created Parent tab and put listener using onClose event dynamically to it and then creating child tabs. Actually I want that when user clicks on close button of Tab, he is not able to close and get message so I put event.stopPropogation() to handle the close event. After creation of child tabs, event listener should be removed out from parent tab.But listener is not removing from parent tab. As I am using removeEventlistener but it is also not working.
Can anyone solve my problem?
We have to use the same EventListener instance to add or remove EventListener then it will work fine.
Asked: 2013-01-17 05:42:18 +0800
Seen: 44 times
Last updated: Jan 22 '13