Hello everyone, Using the simplemodal plugin I create a dialog dynamically from links using
$(".dialog-link").live('click', function(e) { e.preventDefault(); $.get($(this).attr('href'),function(data) { $.modal(data, {onOpen: open, position: ['10%','30%']}); }); }); (FYI: the onOpen callback just sets some height) The document returned by the ajax call (contained in data) has some jquery calls to datepicker, etc. But when my dialog displays the datepicker won't work. As far as I can tell the javascript in the document called with AJAX isn't executed, but I do get my alert() test statements... Does anyone know where my error lies? Thanks, Michael