Well since you didn't put the setInterval in your code anywhere, I don't really know where you want it...
However I will say that you should be using setTimeout() instead. setTimeout works exactly the same as setInterval, except it only calls the function once, where as setInterval calls it every X milliseconds.
You said you want to delay the confirmation box from appearing, so I guess this is what you want:
Code:
function guessNumber() {
var guessed = document.mathguess.number.value;
if (guessed < rndm) {
window.alert("Higher !");
}
else if(guessed > rndm) {
window.alert("Lower !");
}
if (guessed == rndm) {
window.alert("You guessed the number !");
return setTimeout("confBox()",10000);
}
}