'dialog' is the plugin, and all are properties and values within ({}) following 'dialog', not variables.
I don't know what does the plugin suppose to do. Perhaps, you need to configure the setting correctly.
$('#dialog').dialog('open')
Should be
$('#dialog').dialog({autoOpen: true});
Or put the method of the plugin that does the dialog box appear, instead of 'autoOpen', and proper value separated by colon.
And you need to embed the plugin js file in your document. For example:
<script type="text/javascript" src="../path/jquery-dialog-plugin.js"></script>
Better if you post the code inside the plugin js file.
Hope this help.
ko ko
Practically a Master Poster
673 posts since Jan 2009
Reputation Points: 120
Solved Threads: 152
Skill Endorsements: 1