Disable question javascript not working in IE

I've been helping to develop a course at my work using Lectora v11.1 for over a year now. It's come to my attention that the knowledge checks I've developed do not work correctly in IE. The questions are mostly TrueFalse and MultipleChoice. What I do for the questions is under the feedback tab of the question properties I assign to each feedback item a Run Action Group and the maximum attempts are not set. That action group is really just one action that I call CheckAnswer which if the question is correct calls a run action group for correct actions or if incorrect calls a run action group for incorrect actions. For a true/false question the correct/incorrect actions groups both have an action in them to Go To Web Address, in the existing window, and the address is javascript:disableTrueFalse(). disableTrueFalse() is a trivantis supplied javascript function for disabling the true/false question. For the MultipleChoice questions I obviously call the disableMultipleChoice() function from my correct/incorrect actions groups.


The above methodology works perfect in firefox but in IE the question doesn't get disabled (The method just disables the radio buttons for the question).


Anybody have any ideas on what may be causing IE to not seem to work while firefox works fine? Any help is greatly appreciated!

Discussion (2)

instead of using javascript to disable the options I tend to just use a transparent button and make it appear over the options after submission - the bonus with this is that you can add a message saying something like 'you have already answered this. Click next to continue'.

What wound up working was setting the "Max Attempts" for any question to 1 and making sure "Count Attempts" was set to Immediately. This caused the javascript to be immediately called on the questions.


-Tim

Discussions have been disabled for this post