+ Start a Discussion
Wasim ShahzadWasim Shahzad 

How to pass JS array to Apex controller without JS remoting?

I tried almost all the available snippets and code samples to get this thing work but no success till now. Can you please suggest me a working model to transfer a JS array to Apex controller? Whenever I tried to see the value in log. I didn't found anything. And its been two days now I'm unable to accomplish this simple thing. Please help. Thanks.
SeAlVaSeAlVa
Have you tried with apex:param to a String in the controller (JSON.stringify javascript function to cast to string)
And in the controller do a JSON.deserialize(var, List<String>.class); 

?