1. Home
  2. Docs
  3. Simpods MVC
  4. Tutorials
  5. Ajax

Ajax

Ajax allows you to talk to the server without refreshing a web page. In Simpods MVC, Ajax files are loaded based on needs for global – required for both frontend and backend, frontend only, backend only and a specific template only.

You will have to prefix ajax- in the file name and Ajax- in the class name for it to be auto-instantiated. For example: ajax-my-template.php

Copy to Clipboard

Articles