Page 1 of 1

Error log

Posted: 18 February 2013, 18:12
by cora89
hi,

i have a problem : a function in my javascript receive null in its parameter 'id'.
i have placed console log to see witch one makes a problem but i have no message other than my error.
And nothing is shown on the javascript error log.
So i don't know where's the problem...

I use notepad++ with syntax colored.
Is there any better tool to evaluate my phpfiles and my javascript ?

thx for your help.

Re: Error log

Posted: 18 February 2013, 18:40
by sourisdudesert
Hello,

First you can read practical debugging tips:
http://en.doc.boardgamearena.com/Practi ... face_logic

Maybe you can use "alert" to pause the execution of javascript and check what is happening.

Cheers,