function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vetriselvan ManoharanVetriselvan Manoharan 

Calling the controller method get set method/remoting

Hi,

I have couple of controller method named getName() and getName1(remote action). Both returns a string.

I call them from javascript var data = {!Name}; and getName1  through remote action.

I get the "data" as object, whereas remote action returns it as string.. I want the remote action also to return as object.