Topic: function called but no return
So, I learned from helloworld.php in the examples folder. It was enough for what I want to do.
But I don't understand why helloworld works when my page doesn't.
My function does two thing:
1) a mysql query -> I see my table is updated when I click, so we're sure the server got into the function.
2) put $text ('OK') in the div -> That's the problem, it doesn't happen.
This is the error I got when I use Firebug.
"uncaught exception: [Exception... "'[object Object]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/net/spy.js :: callPageHandler :: line 807" data: no]
Can you help defining the problem? This error is in chinese for me. I don't get why it doesn't happen in helloworld why I changed the code to be exactly the same.
Also, is it normal that xajax doesn't work with IE 9 ? Do I have to do something?