+ Start a Discussion
Vetriselvan ManoharanVetriselvan Manoharan 

Calling the controller method get set method/remoting


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.