Sidhartha Patnaik

Sidhartha Patnaik

  • 954
  • 516
  • 8.3k

how to retrieve data from view using ajax to controller ?

Jan 25 2019 12:54 AM

how to retrieve data from view using ajax to controller ?

Suppose we are giving the parameter url in ajax as: controller/action()
and parameter data in ajax.
 
How to get the same data in the controller action() which is mentioned in the ajax method in the view.
 
 please guide with the code.
 
Thanks and regards,
Sidhartha Patnaik- 7978630611

Answers (2)