Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kauai

macrumors 6502a
Original poster
Oct 13, 2010
504
1
Here is an example

Can someone please tell me why none of the practices on Math.com, as shown above, will not work on my Mac? It works fine on the PC. If this were a hardware issue, I'd understand, but I can't understand what the difference would be between a Mac and PC browser. Perhaps it only works in IE? Either way, if someone can figure out what's wrong and provide a work around I'd be extremely grateful. Thanks.
 
Nope. Some of the practices work when I spoof firefox as IE, but most of them don't.
 
It's the website itself. Bad code.


function getUserAns(form, button) {
if (button == "checkAns"){
outString = ("" + 3 * Math.pow(10,pow))
if (br == "n4"){
document.practice.document.pract.correctAns.value = setCommas(outString);
S1U1L1Pract.html:138TypeError: 'undefined' is not an object (evaluating 'document.practice.document')
}
if (br == "e4") {
form.correctAns.value = setCommas(outString);
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.