I'm developing in Firefox and using the JS debugger addon which, when I click on a few of my buttons, tells me that function is not defined e.g. "showAlert is not defined"
Except showAlert IS defined and I don't know why the page can't see it. This is happening with most of the functions on the page, but there's one that still works, probably because it is the submit button for the page form with an onclick JS beforehand.
I've place a several alerts throughout the page body and they all fire.
How do I track down these missing function errors and find out what's happening?