title: How to make grey text on a textbox that disapears in MVC
body: <p>I am searching for the same answer that was given here:
  <a href="https://stackoverflow.com/questions/4681036/html-css-making-a-textbox-with-text-that-is-grayed-out-and-disappears-when-i-cl">HTML/CSS Making a textbox with text that is grayed out, and disappears when I click to enter info, how?</a></p>
  
  <p>But I want to do this in MVC4.</p>
  
  <p>I got the following view:</p>
  
  <pre><code>  @using (Html.BeginForm("Kompetens", "KumaAdmin"))
              {  
                  &lt;div class="three columns" style="margin-right: 627px;"&gt;
                      &lt;h6&gt;Kompetens&lt;/h6&gt;
                      &lt;div style="width:456px;"&gt; @Html.ListBox("kompetensId", (SelectList)ViewBag.KomId)&lt;/div&gt;&lt;br/&gt;
                      &lt;h6&gt;Lägg till kompetens&lt;/h6&gt;
                      &lt;div class="focus"&gt;
                      @Html.EditorFor(mm =&gt; mm.KompetensTest)
                      &lt;/div&gt;
                      &lt;input type="submit" style="margin-right: 205px;" value="Skapa"/&gt;&lt;br/&gt;&lt;br/&gt;
                  &lt;/div&gt;
               }
  </code></pre>
  
  <p>Since this is my textbox:</p>
  
  <pre><code>@Html.EditorFor(mm =&gt; mm.KompetensTest)
  </code></pre>
  
  <p>I don't know how to apply the "onfocus" &amp; onblur attributes on it like in  the link above.</p>