Passing javascript array to coldfusion CFC via Json

后端 未结 2 1586
生来不讨喜
生来不讨喜 2021-01-14 07:47

i use this javascript to capture all checkboxes checked in a flexigrid and try to send this array of row ids to an CFC

function removeCertidao(){
    var all         


        
2条回答
  •  离开以前
    2021-01-14 08:12

    What you're passing to the CFC is a Javascript array. It's not a ColdFusion array. So to the CFC it looks like a string. Change type to "string", or "any", or just omit it completely.

提交回复
热议问题