ajax, how to detected error

ajax, how to detected error

Hi jQuery Users,

i'm using the $ajax which works fine until I rename some of my files and the url in the $ajax is wrong.
my problem is that the $ajax doesn't error and doesn't give me a chance to report to the developer
that the URL supplied with the $ajax is wrong.

is there a way to detect this? what am I missing?

regards,
Peter Wraae Marino