Codice:
<html>
<head>
<script>
function writeOpts() {
var weekDay = new Array("Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica");
for (int i=0; i<weekDay.length; i++) {
document.writeln("<option>" + optArray[i]);
}
}
</script>
</head>
<body>
<select name="aaa">
<script>writeOpts();</script>
</select>
</body>
</html>
Via javascript potresti intanto che ci sei, creare anche i tag select