Ok, I need help with a line of code which is:
document.writeln("Your score is " + total + "%"
;
Assuming that total is defined correctly, my problem is that when the line of code is executed it clears the document then writes the result. I need it to write the line but not to clear the document. I thought that it was the method .writeln but this is not working. Any help would be appricated.
P.S. The line of code will be executed after the page is loaded.
Thanks
document.writeln("Your score is " + total + "%"
Assuming that total is defined correctly, my problem is that when the line of code is executed it clears the document then writes the result. I need it to write the line but not to clear the document. I thought that it was the method .writeln but this is not working. Any help would be appricated.
P.S. The line of code will be executed after the page is loaded.
Thanks