i have an image:
<img onclick="Search()" alt="searchPage" style="vertical-align: middle;" height="17px"
src="../../Stylesheets/search.PNG" title="search" />
and javascript methode:
<script language="javascript" type="text/javascript">
function Search() {
alert("test-search");
var searchText = $("#txtSearch").val();
var queryString = "SearchText=" + searchText;
$.post("/Search/Search", queryString, callBackSearch, "_default");
}
</script>
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.
please help me.