salve a tutti ho trovato e poi modificato uno script per visualizzare su una option di una select l'ora corrente

soltanto che lo script funziona solo se lo inserisco in un file html e non se lo metto in un file asp!chi mi sa dire perche?e possibilmente anche come rimediare....

ecco lo script

var timerID = null
var timerRunning = false
function stopTimer(){
//stop the clock
if(timerRunning) {
clearTimeout(timerID)
timerRunning = false
}
}
function startTimer(){


stopTimer()
runClock()
}
function runClock(){
document.clock.face.options[0].value = timeNow()
document.clock.face.options[0].text = timeNow()

timerID = setTimeout("runClock()",1000)
timerRunning = true
}
function timeNow() {

now = new Date()
hours = now.getHours()
minutes = now.getMinutes()
seconds = now.getSeconds()
timeStr = "" + ((hours > 12) ? hours - 12 : hours)
timeStr += ((minutes < 10) ? ":0" : ":") + minutes
timeStr += ((seconds < 10) ? ":0" : ":") + seconds
timeStr += (hours >= 12) ? " PM" : " AM"
return timeStr
}


e poi nell'html della pagina

<form name="clock"><select name="face"><option></option></select></form>

RIPETO:in un file html non da problemi,in uno asp non funziona e basta!

perchèèèèèèèèèèèèèè?