Displaying 1 result from an estimated 1 matches for "array_param".
Did you mean:
array_params
2008 Sep 15
2
Passing an array into controller
I am trying to pass and array from an AJAX Javascript function to a
controller. The parameter is being read as a single string and not an
array.
The Javascript function:
function sendtolist(formName){
var form = $(formName)
var checked = []
checked = form.getInputs("checkbox","plans[]").findAll(function(item)
{ return item.checked; }).pluck("value");