Is it possible to write a snippet as an Ajax action? I mean is it possible to have the URL of a snippet and set this URL for the XMLHttpRequest?
I love computer programming...
-
MODX Staff
- 10,725 Posts
Just create a MODx document with no template that returns the expected content (i.e. place snippet in main content area) and set the content-type appropriately.
good idea! thanks!
If I want to have a Ajax based WebLogin? which parts of the classic WebLogin process should be removed? calling OnBeforeWebLogin??? ...
I love computer programming...