Page 1 of 1

is not a function, it is object why?

PostPosted: Sun Aug 05, 2012 2:11 pm
by DEK4
Hello...

i recieve this error:
Code: Select all
Exception Object: org.mozilla.javascript.EcmaError: TypeError: XMLFileProcess is not a function, it is object.


i don't know why it works perfectly i haven't od any changes to the functions.

Re: is not a function, it is object why?

PostPosted: Sun Aug 05, 2012 3:10 pm
by logicimpresa
DEK4 wrote:Hello...

i recieve this error:
Code: Select all
Exception Object: org.mozilla.javascript.EcmaError: TypeError: XMLFileProcess is not a function, it is object.


i don't know why it works perfectly i haven't od any changes to the functions.


Can you show the code where the error is?

Gianluca

Re: is not a function, it is object why?

PostPosted: Sun Aug 05, 2012 11:55 pm
by DEK4
SOLVED.

the problem was variables, i declare it in this way:

Code: Select all
/** @type {XMLList} */ var _c


the correct way is:
Code: Select all
/** @type {XMLList} */
   var _c


thanks