How to Alert the returned data of ajax.?
<p>Guys, i have a jquery page with ajax, and is submitted in a separate php file that has no UI. so what i want is if say for example an insert query in my php file will fail, an echo(your insert failed) in my php will be alerted in my jquery page. how to do that?</p>

<p>something like this alert(data);</p>
