jQuery
New Wave Javascript


discuss » Running AJAX-plugin demo page with Internet Explorer.


Posted: Mon Mar 13 12:53:54 EST 2006
From: Christian Bach <christian.bach at polyester.se >

Hi, this error message is shown.

Line: 479
Char: 3
Error: Wrong number of arguments or invalid property assignment
Code: 0
URL: http://jquery.com/demo/ajax/


DragonMails wrote:
> The error message would be helpfull.
>
> On 3/13/06, *Christian Bach* <christian.bach at polyester.se
> <mailto:christian.bach at polyester.se>> wrote:
>
> Hello,
>
> First of all a big thank you to John for the incredible work on
> jQuery!
>
> Now to my problem,
> I am trying to running the AJAX-Plugin demo page
> (http://jquery.com/demo/ajax/) with IE version 6.0.2900 xp service
> pack 2.
>
> The problem seems to be using following functions.
>
> $.get("ajax-test.xml",function(xml){
> var text = $("title",xml).text();
> $("div#xml").html("<h1>"+text+"</h1>");
> });
>
>
> And
>
> $.post(" xml.cgi",{
> name: "John"
> },function(xml){
> var text = $("title",xml).text();
> $("div#dxml").html("<h2>"+text+"</h2>");
> });
>
>
>
> Has an both errors on line 478
>
> Which resolves to
> :
> $.tag = function(a,b){
> return a && a.getElementsByTagName ?
> a.getElementsByTagName( b ) : [];
> };
>
> Is this a known issue, or am i using a unsupported version of IE ?
>
>
> _______________________________________________
> jQuery mailing list
> discuss at jquery.com <mailto:discuss at jquery.com>
> http://jquery.com/discuss/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> discuss at jquery.com
> http://jquery.com/discuss/
>