$.post("login.php",{user:uname,pass:pass},function(data){
    alert(data.something);
},"json");

Is easier, otherwise you can try removing the word json and using another
name and see if that works.  Good luck on your mission of success!

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of yrelkin
Sent: Tuesday, May 26, 2009 1:15 AM
To: jQuery (English)
Subject: [jQuery] jQuery Ajax breaking in IE..... please help!!


I am developing a VoIP Customer Portal with jQuery/Ajax.
Everything works fine in Firefox, but in IE and Safari, the JS breaks.

I used MS Script Debugger to get a backtrace, and i find that the
breakpoint is at a jQuery Ajax call:

var AJAXURL = 'app/ajax.php';
$.ajax({
                                   url:AJAXURL+"auth-login",
                                   type:"POST",
                                   data:"user="+uname+"&pass="+pass,
                                   dataType:"json",
                                   success:function( json ) {
                                            // code removed
                                   }
                                   });

Why oh why is this happening??

Any help would be greatly appeciated.

Reply via email to