2 Replies Latest reply: Mar 28, 2012 6:40 AM by EricES RSS

    "Argument mismatch in property or function argument" on nodes.length

    EricES

      Hi,

       

      However I try to get the length on the nodes property, I always get this error:

       

        "Argument mismatch in property or function argument"

       

      It happens regardless of which level of the DOM/SOM I try at, even though I can resolve nodes, get values, etc.

       

      An example that would throw the error:

       

          var objDataGroup = xfa.resolveNode("$data"); 

          xfa.host.messageBox (objDataGroup.nodes.length);

          

      What am I doing wrong?

       

      Thanks!