Originariamente inviato da var
copia tutta la pagina, così ci smanetto un pò!
ok!

codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="javascript1.3" type="text/javascript">
<!--
function rebuildTable() {
	var i = document.insertPoll.n.selectedIndex;
	var n = parseInt(document.insertPoll.n.options[i].value);
	var display = "";
	
	for(i = 3; i <= 10; i++) {
		if(i <= n)
			display = "table-row";
		else
			display = "none";
		document.getElementById("row[" + i + "]").style.display = display;
	} 
} // end function rebuildTable
// -->
</script>
<body>
<div align="center">Inserisci Sondaggio
</div>
<form name="insertPoll" ID="insertPoll" method="post">
<table border="0"cellpadding="3" cellspacing="0" style="border:1px solid #DDDDDD; border-collapse: collapse;" width="90%" align="center">
  <tr>
    <td width="50%"><font size="2">Titolo</font></td>
    <td width="50%"><input name="titolo" type="text" id="titolo"></td>
  </tr>
  <tr>
    <td colspan="2">
      <font size="2">Numero opzioni:</font>
      <select name="n" onChange="rebuildTable();">
        <option value="2" selected>2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
        <option value="6">6</option>
        <option value="7">7</option>
        <option value="8">8</option>
        <option value="9">9</option>
        <option value="10">10</option>
      </select>
      

  	  <div align="right">
  	  <table width="40%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#00CCCC">
    		<tr bgcolor="#FFFFFF" ID="header">
              <th width="30%"><font size="2">Numero</font></th>
              <th width="70%">Valore</th>
        </tr>
        <tr align="center" bgcolor="#FFFFFF" ID="row[1]">
              <td width="30%">1</td>
              <td width="70%"><input name="value[1]" type="text" id="value[1]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[2]">
              <td width="30%"><font size="2">2</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[2]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[3]" style="display: none">
              <td width="30%"><font size="2">3</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[3]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[4]" style="display: none">
              <td width="30%"><font size="2">4</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[4]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[5]" style="display: none">
              <td width="30%"><font size="2">5</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[5]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[6]" style="display: none">
              <td width="30%"><font size="2">6</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[6]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[7]" style="display: none">
              <td width="30%"><font size="2">7</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[7]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[8]" style="display: none">
              <td width="30%"><font size="2">8</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[8]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[9]" style="display: none">
              <td width="30%"><font size="2">9</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[9]" size="45"></td>
        </tr>
    		<tr align="center" bgcolor="#FFFFFF" ID="row[10]" style="display: none">
              <td width="30%"><font size="2">10</font></td>
              <td width="70%"><input name="value[2]" type="text" id="value[10]" size="45"></td>
        </tr>
      </table>
  	  </div>
   </td>
  </tr>
  <tr>
    <td colspan="2" align="center"><input type="submit" name="Submit" value="Invia">
    <input type="reset" name="Submit2" value="Ripristina"></td>
  </tr>
</table>
</form>
</body>
</html>