on 2019 Jun 01 10:18 AM
I am using ajax post method to do addto cart
If I use content type(application/html) in ajax post it is unable to find the corresponding method in controller.
I have used datatype as application/html then able to hit the controller
In controller am returning jsp(i.e view has some div contents) to show popup. But in ajax response am getting parseerror but am able to see the html content in the response
Unable to find what might be the issue
Request clarification before answering.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.