Activity Forums Salesforce® Discussions Is it necessary to use RemoteAction annotation for using javascript?

  • Tanu

    Member
    August 31, 2016 at 10:51 am

    Hello Pranav,

    It is not necessary to use RemoteAction annotation for using javascript

    Remote action means that a Visualforce page can access the method directly from JavaScript, using JavaScript remoting.  You'd use this if you didn't want to use form posts to carry out actions.  Remote action methods are stateless, so the request needs to carry all the information required to process it.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos