If you want the js event to happen if the answer is correct then onsucsess should be right for the event. So a correct answer invokes the js event.
Courselab does seem to be quite sensitive to the way you write the js. The whole needs to be inside ' single quotes' .
Makes me wonder if it is just a syntax problem in your js code, that is the way that Courselab rewrites it when it renders the page, not the code itself.
Can you run the module using firebug or java console to get a handle on what is actually happening when it's invoked?
I'd still point out that some ajax isn't going to function as expected in the page DOM where the page is non-declared DTD, MS VML's can be problematic.
If you want the js event to happen if the answer is correct then onsucsess should be right for the event. So a correct answer invokes the js event.
Courselab does seem to be quite sensitive to the way you write the js. The whole needs to be inside ' single quotes' .
Makes me wonder if it is just a syntax problem in your js code, that is the way that Courselab rewrites it when it renders the page, not the code itself.
Can you run the module using firebug or java console to get a handle on what is actually happening when it's invoked?
I'd still point out that some ajax isn't going to function as expected in the page DOM where the page is non-declared DTD, MS VML's can be problematic.