Hola
FNX_NET
A ve si te refieres a esto:
Código PHP:
<html>
<head>
<script type="text/javascript">
function ini() {
sele = document.createElement('select');
for (i=0; i<5; i++) {
opt = document.createElement('option');
opt.value = i;
opt.innerHTML = i;
sele.appendChild(opt);
}
document.forms[0].appendChild(sele);
}
</script>
</head>
<body onload="ini()">
<form>
</form>
</body>
</html>
Saludos,