Activity Forums Salesforce® Discussions What is the meaning of <apex:actionfunction> tag in VisualForce?

  • Manish

    Member
    February 24, 2020 at 2:48 pm

    A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request.

  • Aditya

    Member
    February 24, 2020 at 4:17 pm

    Hi Manish,

    This tag defines JavaScript functions to be called from JavaScript code. If any miss those required fields, I am displaying alert by Javascript and i am calling method from java script to save the record

  • Shweta

    Member
    February 25, 2020 at 12:50 pm

    <apex:actionfunction> : This component provides a support for invoking controller action methods directly from JavaScript code using an AJAX request. It must be a child of an <apex:form> component because binding between the caller and <apex:actionFunction> is done based on parameter order.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos