Ajax renvoyant HTML au lieu de JSON

you probebly added a "JSON.parse()" search for this in your code and if its there delet it
Difficult Dingo