Question: 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);
});

```

Answer: 
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.
On Galaxy S3 with OS 4.1.2 the very same error was thrown (from line 1) when script at the end of file contained line commented with `//` markup, as reported here: <http://code.google.com/p/android/issues/detail?id=23437>