155
rated 0 times
[
157]
[
2]
/ answers: 1 / hits: 16172
/ 8 Years ago, tue, september 6, 2016, 12:00:00
I am getting this error message at the console for line:
var dataString = 'search='+ searchid;
at following script:
$(function(){
$(.search).keyup(function() {
var searchid = $(this).val();
var dataString = 'search='+ searchid;
if(searchid!='') {
$.ajax({
type: POST,
url: classes/search.php,
data: dataString,
cache: false,
success: function(html) {
$(#result).html(html).show();
}
});
}
return false;
});
});
What is wrong there?
More From » javascript