When I make an ajax call (see code below), what is \"data\". How do I set and get data
// $.post()
$(\"#post\").click(function(){
$(\"#result\").h
The documentation for $.post says that data "could be xmlDoc, jsonObj, html, text, etc...". It's whatever the server returns for the loadUrl you specified with the given parameters (in your case, language: "php", version: 5), so you need to examine what the server is returning.
Just alert(data) in your callback and you'll see what was returned.
Update: renamed 'responseText to 'data', since the OP changed the question to do that.