We help IT Professionals succeed at work.
Get Started

jquery dialog: "GET data: undefined (undefined)" after initialization

harryweiss
harryweiss asked
on
1,414 Views
Last Modified: 2012-08-14
Hello experts,

I have a problem to use the jquery dialog ui plugin. The javascript console of google chrome writes "GET data: undefined (undefined)" direct after initialization. The script continues in chrome browser but I get an [Object Object] message in IE.

any ideas?

Thanks in advance,
Harry

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb" Inherits="WebApplication.Test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="/Styles/jquery.themes/jquery.ui.all.css" type="text/css" />
<script src="/Scripts/jquery.min.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.bgiframe-2.1.2.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.core.js" type="text/javascript" language="javascript"></script>
<script src="/Scripts/jquery.ui/jquery.ui.widget.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.mouse.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.draggable.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.position.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.resizable.js" type="text/javascript" language="javascript"></script> 
<script src="/Scripts/jquery.ui/jquery.ui.dialog.js" type="text/javascript" language="javascript"></script> 
    <style type="text/css">
     body { font-size:9pt; }
    </style>

</head>


    <script type="text/javascript" language="javascript">

        $(document).ready(function () {

            $('#OutletDialogBox').dialog({ autoOpen: false, height: 600, width: 730, modal: true });

            $('#OutletDialogBox').parent().appendTo($('form:first'));

        });

      </script>

<body>
    <form id="form1" runat="server">
    <a href="javascript:$('#OutletDialogBox').dialog('open');">Click</a>
    <div id="OutletDialogBox" title="POS Report - Outlet Datenbank">Test</div>
    </form>
</body>
</html

Open in new window

ss1.jpg
ss2.jpg
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE