Menu
I have an alert box come up, and I would like the alert box to be printed. I have tried using the window.print() command but that printed the entire webpage. Is there anyway to just have the alert print? Thanks.
Here is my function that calls the alert box.
[CODE]
<scpript>
function final()
{
alert(“You got ” + numCorrect + ” out of 42 questions correct.n” + “Your grade is ” + Math.round(100*numCorrect/42) + “%n”)
window.print();
}
</script>