You need to sign in to do that
Don't have an account?

Visualforce Remoting: Parameter length does not match remote action parameters
What does it mean?
I am trying to do remote javascripting in visualforce. Controller is setup, but when I call function, javascript debugger in chrome gives me this error... function does not take any parameters and simply returns 'Hello' string when is called... Any help would be great.
Use your one i tested with remotetest, forgot to change
All Answers
Could you please share your code
This is the script part
this is the controller
Do it like this
This is a callback function which handels the output of method invoke through js remoting.
where is remoteTest class ?
Use your one i tested with remotetest, forgot to change
so do you have to use it like that all the time? is there more ducumentation on remote javascript anywhere other that those two examples in the release? It worked. Thanks.
Your welcome ,
Even though there is no document but thats a standard way of doing any ajax call, if you have in touch of .net you will see smilar in c#. even you will see similar syntax in Apex webservice methods those are invoked via java script.
I have blogged something related to JavascriptRemoting, hope this will help you.
http://forceguru.blogspot.com/2011/06/summer-11-features-part-2-javascript.html
Thanks
Ankit Arora
Blog | Facebook | Blog Page
This helps. Awesome blog dude! Lot's of useful stuff.
Thank you.
Glad that you liked it.
Thanks
Ankit Arora
Blog | Facebook | Blog Page