I am a beginner at JS so please bear with me.
I need t invoke a JS function based one in-line logic - not associated with click.
In my attempts to do so, it says "Undefined Function".
The same function invoked from "href=" works fine.
Is there some secret about how to call functions from in-line code?

Also - how do access a JS console or monitor that shows what errors I'm getting - from firefox? There used to be one built in but now I can't find it.