I have the same problem, but I've solved it! It seems to be a CSS related issue and it occurs when you use the jQuery function $(this).css('-7px !important') or something similar.
The easiest way to discover what is causing the error in your code is to open up the jQuery.min.js file in a text editor. The file is not very readable by default (no indentation or spacing). If you are using a real IDE (such as Eclipse) you can select in the top meny Source > Format to have Eclipse make the code readable. Get eclipse here: http://www.eclipse.org/downloads/ http://www.eclipse.org/downloads/ Locate the following lines: if (set) elem[name] = value; return elem[name]; Now insert an alertbox which spits out the contents of the String "value" everytime it is set: if (set) alert(value); elem[name] = value; return elem[name]; Save and upload the file to your server and in your IE browser refresh your page that triggers the error. You will now get an alertbox for every jQuery-call that sets the value of String "value". Take note on the contents of the alertbox just before the IE error dialog occurs. That will most certainly give you a hint of what parameter IE cannot handle, in my case it was the CSS value "!important" that was set through the .css jQuery function. Hope this helps! /Aaslun smurkas-2 wrote: > > > Hello. When I use the dialog in jquery UI I get an error in explorer > 6. The dialog still works and behaves normally, but it seems to put a > stop to some of my scripts.The error is on line 1120 and the debugger > says invalid argument. I used Microsofts script debugger to make sure > and it dumped me on line 1120 of the jquery-1.2.6.js file, not one of > the UI files. The line the debugger points to is: > > elem[ name ] = value; > > This seems to be part of the larger attr: function( elem, name, > value ) {} but I'm no javascript expert so I could very well be wrong. > > I get this error whatever I do, even if I just do the basic > > $(document).ready(function() { > $('#dialogTest').dialog(); > }); > > Of course there are no problems in firefox or safari which are the > only two other browsers I have tested so far. The link below leads to > my web server where I have put up the most basic version of the > dialog. Does anyone else get the same error in IE 6? > > I have put up a page here: http://www.ad-vis.com/functional/dialog.html > > Kindly, Marcus. > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to jquery-ui@googlegroups.com > To unsubscribe from this group, send email to > jquery-ui-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en > -~----------~----~----~----~------~----~------~--~--- > > > -- View this message in context: http://old.nabble.com/Dialog-error-in-Internet-Explorer-6-tp18296761s27240p28666338.html Sent from the jQuery UI Discussion mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.