When attempting to include the jquery library via a php require_once() I find that invocations of the .dialog() component of JQuery UI produce an error message:
$("#dialog").dialog is not a function
This seemed strange to me as upon inspecting the DOM I see that the expected html tag is rendered namely:
<link rel="stylesheet" href="/scripts/css/smoothness/jquery-ui-1.8.17.custom.css" type="text/css" />
does anyone know why including the html fragment via php's require_once/include_once would cause this problem?