How do xmlhttp change for the request? For example, if I see the full page about "/ About", then if I request this page with AJAX, Maggento uses another layout and receives all the information I need.
In your action, you decide to return text / html or app / javascript Accept the http header, you can test the contents ... and choose the template accordingly.
Comments
Post a Comment