I have php file on my hosting that echo-ing string "Najblizi je Joakim: 20m",
when i try to display that string in my app with AJAX(ajax.lastdata) it shows string + some javascript
Events:
button on click ===> ajax request url:"http://myurl.com/file.php"
ajax on completed ===> text1.text = ajax.lastdata
Result:
i68.tinypic.com/2ce0r3r.jpg
How to remove that javascript ?