shortysbest Posted December 12, 2010 Share Posted December 12, 2010 when i click on a <li> element the <ul> event toggles. I have tried this code but it doesn't work. $(document).ready(function(){ $("#notifications").click(function(event) { load_notifications();event.stopPropagation()}); }); #notifications is the parent ul element. Quote Link to comment Share on other sites More sharing options...
Adam Posted December 12, 2010 Share Posted December 12, 2010 Can you show the load_notifications() function? Quote Link to comment Share on other sites More sharing options...
shortysbest Posted December 12, 2010 Author Share Posted December 12, 2010 forgot to mark as solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.