I am Facing a small trouble..
I have a code which a ajax posts and returns a value from a page.
And the result is JSON , made by using
json_encode($response);
in PHP.
I converts the json to array using jQuery.parseJSON
in jquery..
And it still works..
But sometimes it may happen any errors in my PHP page, So it will do not return a JSON code.
So the jquery shows error in jQuery.parseJSON
..
Any Solution ??