Actually, Jörn Zaefferer actually pointed out the fix. The solution
was to modify the metadata.js as follows:

       $.fn.setArray = function(arr){
           return setArray.apply( this, arguments ).each(function(){
-            if ( this.metaDone ) return; // remove this line
+            if ( this.nodeType == 9 || $.isXMLDoc(this) ||
this.metaDone ) return; //add this one instead

             var data = "{}";

Thanks Mike for your time and suggestions.

And a big thanks to Jörn for helping me out once again. You guys rock!

cheers,
skube

On Apr 4, 5:20 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> :-)  It would appear I've got those args wrong.   Try this:
>
> $().ajaxError(function(event, xhr, opts, ex) {
>     alert(ex ? ex.message : null);
>
> });
> > The resulting alert:
> > ---------------------------
> > Microsoft Internet Explorer
> > ---------------------------
> > [object Error]: undefined
> > ---------------------------
> > OK
> > ---------------------------
>
> > On Apr 4, 1:46 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > > skube,
>
> > > Add an ajaxError handler and see what's failing.  Something must be
> > > throwing an exception that will be caught and passed to registered
> > > ajaxError handlers.
>
> > > $().ajaxError(function(ev, opts, xhr, msg, ex) {
> > >     alert(msg + ': ' + ex);
>
> > > });
>
> > > Mike
>
> > > On 4/4/07, skube <[EMAIL PROTECTED]> wrote:
>
> > > > Again, to clarify both those links work in Firefox. Only the first one
> > > > doesn't work in IE.
>
> > > > On Apr 4, 12:36 pm, "skube" <[EMAIL PROTECTED]> wrote:
> > > > > Actually, I've isolated it even more .. it appears there is a problem
> > > > > when using the metadata plugin for validation.  When I remove that
> > > > > script call it works fine...here are some examples:
>
> > > > >http://staging.luminato.base2.ca/inc/test-xml-echo.php(doesn'twork)ht...
> > > > > (works)
>
> > > > > On Apr 4, 12:02 pm, "skube" <[EMAIL PROTECTED]> wrote:
>
> > > > > > Nope, when I use the xml-echo.php page and the same JS. It works in
> > > > > > FF, but gives undefined responseXML when traced.
>
> > > > > > On Apr 4, 8:01 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
>
> > > > > > > I haven't had that problem.  Does the demo page work for you?
>
> > > > > > >http://www.malsup.com/jquery/form/#code-samples
>
> > > > > > > > I'm hoping someone may be able to shed some light...I'm having a
> > > > > > > > problem with what appears to be IE hanging when processing an
> > > > > > > > XMLresponse. Below is a sample of what is going on...
>
> > > > > > > > $(form).ajaxSubmit({
> > > > > > > >   dataType: "xml",
> > > > > > > >   success: processXml
> > > > > > > > });
>
> > > > > > > > function processXml(responseXML) {
> > > > > > > >   var response = $("myXMLNode",responseXML);  // IE hangs, FF ok
> > > > > > > > }
>
> > > > > > > > I've made sure the headers returned are XML and everything 
> > > > > > > > works fine
> > > > > > > > in FireFox. I'm wondering if anyone has come across this?

Reply via email to