There are times when you can't understand why your code is not doing what it's supposed to do. After killing half an hour on trying to figure out what is the problem you either give up and decide to rewrite or leave it for later. Later looking at your code you clearly see the bug and think how you couldn't you see it.
For cases like that you can use online JavaScript code validator JSLint.
Getting error Typeerror: Components.classes[cid_siterank] is undefined
ReplyDeleteDoes anyone know what is wrong. Firefox has started to crash too
Thankyou, this really helped me out. I forgot to name my variable. (silly me :) )
ReplyDelete