-
frustrating checkbox problem
******I solved my problem*****
I Used
function cancelBubbling(e)
{
if (!e) var e = window.event;
e.cancelBubble = true;
if (e.stopPropagation) e.stopPropagation();
}
to stop the propagation of the event which was returning false in the menu's click handler
******I solved my problem*****
I am using the accordion menu from:
http://dynamicdrive.com/dynamicindex...ordionmenu.htm
and I have a checkbox on it but it refuses to check when I click it. I think the problem has something to do with the checkbox's parent also having an onclick on it. Maybe the check action is being done twice? To solve this I think I would need to prevent the capturing and bubbling of the event but I can't figure out how to stop the capturing. I also want to prevent the menu from opening up when the checkbox is clicked.
Ive been stuck on this for a while so any suggestions would be greatly appreciated.
Thanks - Micah
Last edited by shadow_hunter; 02-12-2008 at 03:20 AM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks