Hello i am quite new to jQuery. I am trying to insert search results in to page without reloading it, but unsuccessful. Here is the code i am using:
$(document).ready(function(){
$("a").click(function(event){
$.get(
"search.php",
{ query: "intel" },
function(data) {
$('#content').html(data);
}
);
});
});
i am using example form some page. I edited it but i lack the knowledge to make it work.