title: Setting property on the model object?
body: <p><strong>Hi,</strong></p>
  
  <p>I am building a ASP.NET MVC site and have runned across a problem. In my project I got a modelview class that contains a couple of properties, for example : </p>
  
  <pre><code>public class myModelView
  {
    public int MyProperty1(){ get; set;}
    public int MyProperty2(){ get; set;}
    public int MyProperty3(){ get; set;}
  }
  </code></pre>
  
  <p>This modelview class is bound to a typed view where I need to be able to set the properties. How do I do this with javascript/jquery? I have tried with Model.MyProperty1 = 1, but that does not work?</p>
  
  <p><strong>BestRegards</strong></p>