Javascript - Repeated Characters
<p>I'm trying to create a program to repeat the word entered  for as many times as it has characters, I've tried several different methods which are not working, here is the work so far. </p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Repeat Word&lt;/title&gt;
&lt;script type="text/javascript"&gt;
//Program: Repeat Word
//Purpose: Repeat word for as many times as it has characters
//Date last modified: 4/11/12 
var word = "";

word = prompt("Enter the word you would like repeated?")


&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>An example of what I want it to repeat for hello would be...</p>

<pre><code>Enter a word: Hello

Hello

Hello

Hello

Hello

Hello
</code></pre>
