cancel
Showing results for 
Search instead for 
Did you mean: 

how to get ajax data into controller file Magento 2

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

how to get ajax data into controller file Magento 2

Hi Guys ,

               Here am facing an issue with passing data from phtml to controller file and again sending response back to script. can anyone help me on that ? 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to get ajax data into controller file magenot 2

Hello @bharath553 ,

 

You can refer it. https://stackoverflow.com/questions/38220376/how-i-get-ajax-response-from-controller-in-magento-2

If my answer is useful, please Accept as Solution & give Kudos

View solution in original post

1 REPLY 1

Re: how to get ajax data into controller file magenot 2

Hello @bharath553 ,

 

You can refer it. https://stackoverflow.com/questions/38220376/how-i-get-ajax-response-from-controller-in-magento-2

If my answer is useful, please Accept as Solution & give Kudos