It is showing this error , content.js:332 Uncaught ReferenceError: $ is not defined
callApiSync(type, url, data)
{
var retVal;
$.ajax(
{
url:url,
type:type,
data:data,
async: false,
success:function(resp)
{
retVal = resp
}
}
);
return retVal;
}
}
It is because .js file dont accept '$.ajax' sign, and also we cant use the links