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,
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
. Selecting these no longer triggers $("#childMenu >
option").click(function(){}); Does anyone have an
2 matches
Mail list logo