Added this line in the script tag and it works: $("#dialog").parent().appendTo($("form:first"));
The code is now:
- <script type="text/javascript">
- $(document).ready(function () {
- $("#dialog").dialog({
- autoOpen: true,
- modal: true,
- draggable: false,
- resizable: false
- });
- $("#open").click(function () {
- $("#dialog").dialog("open");
- });
- $("#dialog").parent().appendTo($("form:first"));
- });
- </script>
Thank you,
Xmas79.
P.S.
At the right bottom of this editor here in the forum I have a wrong translation on chars count. Let me know who I can contact to correct this translation.