Rajasekhar
Rajasekhar

Reputation: 2455

In IE getting error like "Wrong number of arguments or invalid property assignment"

In IE getting error like:

 "Wrong number of arguments or invalid property assignment"

Here is my sample code:

 if (!test[0].childNodes || !test[0].childNodes.length || 
                                     !test[0].childNodes[0].nodeValue) {
        test1 =test[0].childNodes ="";
   }else{
        test1 =test[0].childNodes[0].nodeValue;
   }

Could you please help me on this. Please suggest me is there any solution

Upvotes: 1

Views: 576

Answers (1)

Related Questions