title: How to send parameter to jsonresult action in a controller in mvc?
body: <p>I have an issue that I have been stuck with for some time .</p>
  
  <p>I have a <code>JsonResult</code> method in my Controller (SubSubCategoriesController):-</p>
  
  <pre><code> public JsonResult GetSubCategories(int CategoryID)
      {
          return Json((db.SubCategories.Select(p =&gt; new { CategoryID = p.CategoryID, SubCategoryID = p.SubCatgeoryID, SubCategoryName = p.SubCategoryName })).Where(p =&gt; p.CategoryID == CategoryID), JsonRequestBehavior.AllowGet);
      }
  </code></pre>
  
  <p>Now, I want to send the value of parameter (CategoryID) from my View? How Can i achieve this?
  Thanks in advance</p>