Hello!

Why return one object from php script called from $.post ();

Example:

$.post("example.php",
          "{A:'A'}",
          function (data) {
                alert(data.err)
          });

example.php

print "{ ";
print " err: 'teste' ";
print "} ";

This script not runnable correctly.

Sorry my VERY BAD ENGLISH!

rs...

cya :P

mmoreira

Reply via email to