I am using a JS date input script (http://www.dynamicdrive.com/dynamici...oncalendar.htm
) that I have been using successfully for years. This is the first time I have tried to place it into an AJAX loaded page and it does not display. The code snippet below is loaded into the page via AJAX, as I said, and I can see the code on the Firebug console. The js is included in the main page and again in the AJAX page that loads the main page (just for good measure). Any ideas on why my input isn't showing up? Thanks for any help!
$dateVar = "inputDate" . $i;
$inputDate[$i] = date("m/d/Y");
$body .= "<td align=center><script>DateInput('" . $dateVar . "', 'true', 'MM/DD/YYYY', '" . $inputDate[$i] . "')</script></td>\n";
P.S. I have tried other date input scripts as well to no avail.