My website page is not working, but the jsfiddle code is javascript and html poll

http://jsfiddle.net/NSzxN/

What's the code

Then here's my site page with this code:

http://elearning.easy2dev.com/quiz_template_3.php

I have been testing things for over 2 hours now and I see no problem, I need help ASAP!

When John is clicked it should increment the count by 1 and then show the answer boxes at the bottom, nothing happens, but in the jsFiddle it works.

It worked, but somehow I broke it.

+3


source to share


1 answer


If you are using FireFox with FireBug extension you will see this error:

illegal character in quiz_t...e_3.php at line 61:
}​
-^

      



Which refers to the following code:

function scoreIncrement() {
    score++;
    document.getElementById("score").innerHTML = score;
}​ // <<-- mysterious zero-length character here
</script>

      

+5


source







All Articles