I am using Jquery for form validation.


So after the validation find true, from that validation.php , i want to pass a PHP variable to

custom.js( Jquery file).

How can i do it.

I am getting validation errors as a concatinated string which is returned by php,
 am trying to append a variable to that string.
but its ech oing on the screen.

Is it possible to assign a variable in that PHP file and pass to jquery file.

Thanks In Advance

Zod!