Javascript / Jquery returns cfquery value of 'no' as false and 'yes' as true

前端 未结 2 1202
陌清茗
陌清茗 2021-01-21 17:03

I have an interesting problem. I Have a jquery ajax command to get data from a MySQL table (code to follow) When i then build my table values that should be yes are now true and

2条回答
  •  悲哀的现实
    2021-01-21 17:42

    Hi All the comment Ageax was correct. Its a ColdFusion bug, I just added white space then trim the value later and it worked perfectly.

    Thanks very much

提交回复
热议问题