Crea un campo oculto en JavaScript

¿Cómo creas un campo oculto en JavaScript en una forma particular?

<code>    <html>
    <head>
      <script type="text/javascript">
      var a =10;
function test() {
      if (a ==10)  {
        //  ... Here i need to create some hidden field for form named = chells
      }
}
      </script>  
    </head>   
    <body >
      <form id="chells" name="formsdsd">
      <INPUT TYPE=BUTTON OnClick="test();">
     </form> 
    </body>
    </html> 
</code>

Respuestas a la pregunta(4)

Su respuesta a la pregunta