I have a simple html login form that I'll call A. A posts userid and password to a php script I'll call B.
B contains an include() function that calls a file I'll call C.
I decided to put the object creating code in A. I logged in using A. JS_NO fired fine as usual. JS_YES didn't. I use firebug to see if JS_YES posted its data to its php script. Firebug showed JS_YES doing nothing at all. I used an alert to see if the JS_YES objects were created. The alert boxes told me they were.