cfjedimaster / ColdFusion-UI-the-Right-Way

A list of articles demonstrating how to do UI with ColdFusion on the back end.
101 stars 31 forks source link

Change dataType from json to text #58

Closed PhillipSenn closed 10 years ago

PhillipSenn commented 10 years ago

I always want to sync the dataType with the returnformat. I think making them both json would actually work, and also leaving dataType out altogether might work since jQuery uses an "intelligent guess". But if the function is returning a plain ole number, then I think the dataType should be text.