A: 

As the documentation states, you need to output valid JavaScript, so quote your string (and don't forget to escape if your ID might have quotes or whatnot in it):

$return = "\" id" . $user . " does not exist.\"";

You wouldn't type

var foo = id 2 does not exist.;

in JS either, would you?

Matti Virkkunen
tried this, it didn't work. If I do exactly as shown, the validate does not even work, if I use single quotes above, the same problem as above results.
nsw1475