Right now I have a simple echo "text"; in my php function. No matter what I do, jquery's response returns a "-1". I couldn't find anything on the documentation about returning a -1. What sort of error happens if response is returning a "-1".
note: It didn't have the quotes, I added them.