title: Jquery variable inside MVC4 on get method
body: <p>I am finally make progress in my code but now I have a small issue that can be better shown with this code below</p>
  
  <pre><code>&lt;script&gt;
   $(".mee").click(function (e) {
             var getID = $(this).attr("id");
    //I want getID passed inside the Url Action
              $.get('@Url.Action("ViewResponse", "thread", new {Model.Response= ?? })',   function (data) {
              $("#resultpost_"+getID).html(data).show();
           });
   });
  &lt;/script&gt;
  </code></pre>
  
  <p>If you look at the code above I have a jquery variable <strong>getID</strong> which holds the value that I need passed inside the mvc4 helper <strong>Url.Action</strong> specifically I want the <strong>Model.Resonse</strong>  to equal <strong>getID</strong> but I can't pass a jquery variable inside the action method how can I work around that ? and my code inside the page is in a foreach that is why I am using Jquery because the value changes depending on what the user clicks.</p>
  
  <p>Here is what the action method looks like</p>
  
  <pre><code> public PartialViewResult ViewResponse(PostResponse response,int responses_ThreadpostID)
      {
          response.ThreadpostID = responses_ThreadpostID;
              return PartialView("_ResponseView");
      }
  </code></pre>
  
  <p>So basically the <strong>Get</strong> method passes the value to the PartialView and from there the partialView will retain that value.</p>