- 1
What is different between datatype : json call and datatype : html call from ajax ?
2 Réponses
+ 1
If you want to just place some html into web page -use html. If you need to do some calculation or data modification - use json.
- 1
and what should be return from controller in both the scenario ? when using json like return json.serialize(data)