title: javascript method post - how to call asp.net mvc action onClick?
body: <p>i have an image:</p>
  
  <pre><code>&lt;img onclick="Search()" alt="searchPage" style="vertical-align: middle;" height="17px"
      src="../../Stylesheets/search.PNG" title="search" /&gt;
  </code></pre>
  
  <p>and javascript methode:</p>
  
  <pre><code>&lt;script language="javascript" type="text/javascript"&gt;
  
      function Search() {
          alert("test-search");
          var searchText = $("#txtSearch").val();
          var queryString = "SearchText=" + searchText;
          $.post("/Search/Search", queryString, callBackSearch, "_default");
      }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>how can i call action Search from SearchController?  in my js methode its is jquery $.post is it? but i dont wanjt to use jQuery in my project.</p>
  
  <p>please help me.</p>