title: How to pass parameters to jQuery document.ready() function (ASP.NET MVC, C#)
body: <p>I would like to pass a parameter to the jQuery <strong>document.ready() function</strong> from my View:</p>
  
  <pre><code>$(document).ready(function (parameter){
          $('select[name=Product]').val(parameter);
  });
  </code></pre>
  
  <p>How can I fire the event from my View and pass the parameter? I use <strong>Razor</strong> as View engine.</p>
  
  <p>Thanks</p>