title: Passing variables to a view using Asp.net mvc and jQuery load()
body: <p>I'm currently loading a view(ascx) into a div using jQuery load(). I want to pass some variables to the view when loading it though so i'm using $.load(view, data); This does not seem to cause any problems but i have no idea how to access the Json object i'm passing in to the control.</p>
  
  <p>Here is the jQuery:</p>
  
  <pre><code>var val = {"Id":"1"};
  $("#DynamicForm").empty().load('/controller/view', val);
  </code></pre>