$(function(){
$.getJSON("http://wallkeeper.com/wj/api/posts?s=" + document.getElementById("searchTxt").value, function(data){
var template = $('#posts-list').html();
var html = Mustache.to_html(template, data);
$('#allposts').html(html);
});
});
I am encountering an issue while trying to retrieve the search result JSON. The error message I am receiving is "Uncaught SyntaxError: missing ) after argument list". Can you please assist me in identifying where the problem lies?
Uncaught SyntaxError: missing ) after argument list