I have reviewed several responses to this matter however I can not find an error in my code.
button1.addEventListener('click',function(e)
{
pesquisa.open("POST","http://10.0.2.2/jobfinder/teste.php");
var params = {
pesquisa: box1.value
};
pesquisa.send(params);
});
Vera,
Unexpected end of input error usually means there is a an unclosed parenthesis or bracket. Please post the full sample of code you are executing and I can find the problem for you.