how do i get response from php script called with form plugin?

how do i get response from php script called with form plugin?

$('#myForm')
   
.ajaxForm({
        target
: 'myscript.php', // or whatever
        dataType
: 'json',
        success
: function (response) {
            this seems to be not the response from the myscript.php
how do i get it to get the response from the php
thanks



        }
   
})
;