Dialog

Dialog

Hi all,

I'm having trouble with floating dialog..

I tested code yesterday by linking in css and .js files directly from jquery.com to prove I could achieve what I wanted.

Today, I downloaded all code to implement locally, but the dialog control is not playing the game...

In firebug, I see the following error..
$[namespace][name] is not a constructor
[Break on this error] $.data(this, name, new $[namespace][name](this, options));
indicating error is in ui.dialog.js (line 105)

My code to display dialog is as the example on jquery website..


<script language="javascript" type="text/javascript">
$(document).ready(function(){
$("#MyDialog").dialog();
});
</script>

my div is creaeted with id MyDialog.

I am guessing there may be a mismatch between the .js files I've downloaded.. but I'm not sure...

I've got latest...

jquery.latest.js
ui.core.js
ui.dialog.js
ui.draggable.js
ui.resizable.js


Any ideas??
    • Topic Participants

    • david