I would say the real error is on the just prior line:
var label = new Element('label', { 'for' : id, 'html' : option });

Element is not a standard object, so it must be defined in some other library. (It's not defined in dg-qui-maker.js, at least.) Need to track down where it is coming from. Presumably, it is part of motools.

You could try just commenting out line 90, for now. All it is doing is adding a <label> to the checkbox. You eventually need the <label>, but at least you could find out if not adding it fixes the other problems.

03-12-2013, 08:14 PM

jefffogel1974

I apologize I left out the commented out header section which eats up 26 lines which is

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Dhtmlgoodies.com., hereby disclaims all copyright interest in this script
written by Alf Magne Kalleland.

So with this header info it makes line 90 this, without header it makes it line 64
el.set('html', this._getCurrentQuestion().label);

Does this help in solve the problem? Or is line 90 still the line you said it was or does the commented junk at the top of the file count for line count?

03-12-2013, 08:27 PM

jefffogel1974

I corrected my screenshot and took out the commented out header section so the real line is now line 64 for the error message. Hope this helps, and I am sorry I wasn't thinking clearly when first posted.

03-12-2013, 08:33 PM

Old Pedant

Makes a big difference. Unfortunately, it also makes it far less obvious.

I don't suppose you can show us this live? Give us a URL to look at?

I don't see why any question would not have a label, the way the code is written.

But the obvious question is: Have you tried contacting Alf Magne Kalleland??

03-12-2013, 08:54 PM

jefffogel1974

Well this is rather interresting, because the site I am working with is an internal site and is Sharepoint 2010, but I wanted to give you a preview of what it does so I uploaded it to my personal external website and it works absolutely fine in IE??? That is so strange?

Here is the live quiz site, but is working, so maybe its something with my Sharepoint 2010 server and not Java which is not displaying it correctly??? Hmm more to think about.