Link to home
Get AccessLog in
Avatar of harryweiss
harryweissFlag for Austria

asked on

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

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,

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <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; }


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

        $(document).ready(function () {

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




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

Open in new window

Avatar of tolgaong
Flag of Türkiye image

First of all.

You should move"<script type="text/javascript" language="javascript">  $(document).ready(function () { ...</script>" lines between <head> tags.

Also you can check for a newer version jquery.
Avatar of harryweiss


I moved the <script> tags inside <head> tag but thats not the problem.

I am already using the newest releases. jquery 1.6.1 and ui 1.8.12

Avatar of dr_Pitter


I just tested your code with jquery 1.6.1 and ui 1.8.12 and got no problems with it. So I would have a look at jquery.bgiframe. Maybe there is a problem with that. Can you reproduce the problem when this script is removed?
okay, forget about that. Just downloaded bgiframe and included it. still no problem....
I removed bgiframe scripts and have still the same problem :-(
Avatar of dr_Pitter

Link to home
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access

good idea because it solved my problem. The IE browser also open the dialog box now.
But the error message "GET data: undefined (undefined)" still exists direct after initialization.

I found an article that this is maybe a bug in jquery:

What do you think?

that could be it. How old is your copy of jquery-ui? I downloaded my copy today and chrome shows me no errors. So you should try updating...
The solution is a good workaround but doesn't solve the problem.
I downloaded the newest version of jquery and ui today but it doesn't solve the problem. I have still the message in chrome browser.

I don't understand why I have this problem if we use the same libraries?