title: JQuery val() returns empty string
body: <p>This is very puzzling and I am not even sure what code should I post here. Yet the problem is very simple.
  I have a form in a JQuery modal dialog where I am doing some price calculations. Among others, I have a field Discount. Presented as:</p>
  
  <pre><code>&lt;div class="editor-label"&gt;
      @Html.LabelFor(model =&gt; model.Discount)
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
      @Html.EditorFor(model =&gt; model.Discount, new { size = 10 })
  &lt;/div&gt;
  </code></pre>
  
  <p>I see in the Firebug debugger, DOM tab, that this field has a value of 20. And it is visible on the form, of course. But calling:</p>
  
  <pre><code> $('#Discount').val()
  </code></pre>
  
  <p>returns an empty string.
  And this is the only field that has this problem. Calling val() for other fields returns correct values. Even clicking submit and debugging the MVC action for the model submitted, I see that the value for Discount is there. It is just the JQuery function that returns an empty string and only for this field.</p>
  
  <p>I know this is a bit of an abstract question, but has anyone ever had an experience like this?</p>
  
  <p>Thank you</p>
  
  <p>Generated HTML:</p>
  
  <pre><code>&lt;div class="editor-label"&gt;
    &lt;label for="Discount"&gt;Popust (%)&lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
    &lt;input id="Discount" class="text-box single-line valid" type="text" value="0" name="Discount" data-val-range-min="0" data-val-range-max="100" data-val-range="Vredonst mora biti izmedju 0 i 100" data-val-number="Polje Popust (%) mora biti broj" data-val="true" size="10"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>While DOM tab in Firebug for this element shows value: "20"</p>