you can use JavaScript remoting, which will allow you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.JavaScript remoting is the most efficient way of calling the controller and passing data in from the page . JavaScript remoting: -lets you pass parameters -provides a callback
Please choose it as the Best answer, if you find it helpful .
Hello ug sfdc,
you can use JavaScript remoting, which will allow you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.JavaScript remoting is the most efficient way of calling the controller and passing data in from the page . JavaScript remoting:
-lets you pass parameters
-provides a callback
Please choose it as the Best answer, if you find it helpful .