[jQuery] Linked Menus Help

2009-12-08 Thread rob
I built a little utility modeling a linked menus concept... Click an item in the parent menu, and the child menu will update. When a parent option is selected the childMenu is reloaded with new options. Selecting these no longer triggers $(#childMenu option).click(function(){}); Does anyone

Re: [jQuery] Linked Menus Help

2009-12-08 Thread T.J. Simmons
This is somewhere in the jQuery documentation, but use .live(click, function(){ instead of .click(function(){ to delegate the function to all matched elements on the page and loaded in via AJAX or otherwise. Hope that helps. T.J. Simmons Sent from my iPhone On Dec 8, 2009, at 5:28 PM,