title: get value from @Model inside jquery script
body: <p>How can I get value from <code>@Model</code> inside jquery script. I want to get some property  by index(determined by row selection in my custom table)   from my Model which is <code>IEnumerable&lt;T&gt;</code> . I don't want to show this property in table and do something like cell <code>.val()</code></p>
  
  <p>for example :</p>
  
  <pre><code>var selectedRow = $(this).parent().children().index($(this)) - 1;
  </code></pre>
  
  <p>and I want something like   </p>
  
  <pre><code> @Model.ElementAt(selectedRow).SomeProperty
  </code></pre>
  
  <p>inside script</p>
  
  <p>Thanks</p>