<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fede91it</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fede91it"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Fede91it"/>
	<updated>2026-07-09T15:31:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Using_Joomla_Ajax_Interface&amp;diff=184472</id>
		<title>Using Joomla Ajax Interface</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Using_Joomla_Ajax_Interface&amp;diff=184472"/>
		<updated>2015-05-26T13:27:37Z</updated>

		<summary type="html">&lt;p&gt;Fede91it: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{version/tutor|3.2}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;==What is The Joomla Ajax Interface (com_ajax)== &amp;lt;!--T:1--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
A slim, extensible component to act as an entry point for HTTP requests for stand alone modules and plugins, thus allowing for the potential of Ajax functionality in them. Com_ajax is generally used when you are not the developer of the component that the module or plugin is interacting with.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: If you are a component developer, you do not need to use com_ajax to implement Ajax functionality in it. You can do so directly in your component.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Examples of use cases include, but are not limited to:&lt;br /&gt;
*A module that retrieves data from an external API&lt;br /&gt;
*A module that interacts with a component that you did not develop&lt;br /&gt;
*A plugin that implement API like functionality to allow consumption of data from your site&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Anatomy of an Ajax Request== &amp;lt;!--T:5--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Required=== &amp;lt;!--T:6--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;option=com_ajax&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;[module|plugin]=name&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;format=[json|debug|raw]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Optional=== &amp;lt;!--T:7--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;method=[custom fragment]&amp;lt;/code&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
defaults to &amp;lt;code&amp;gt;get&amp;lt;/code&amp;gt; if omitted.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Overview=== &amp;lt;!--T:9--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
All requests begin with &amp;lt;code&amp;gt;?option=com_ajax&amp;lt;/code&amp;gt;, which calls this extension, and must indicate the type of extension to call, and the data format to be returned.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
Additional variables and values used by your extension may also be included in the URL.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
For example, a request to &amp;lt;code&amp;gt;?option=com_ajax&amp;amp;amp;module=session&amp;lt;/code&amp;gt; would call &amp;lt;code&amp;gt;mod_session&amp;lt;/code&amp;gt; with results returned in the default format. In contrast,&amp;lt;code&amp;gt;?option=com_ajax&amp;amp;amp;plugin=session&amp;amp;amp;format=json&amp;lt;/code&amp;gt; would trigger the &amp;lt;code&amp;gt;onAjaxSession&amp;lt;/code&amp;gt; plugin group with results returned in JSON.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Module Support== &amp;lt;!--T:13--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Summary=== &amp;lt;!--T:14--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Module support is accomplished by calling a method in the module&#039;s &amp;lt;code&amp;gt;helper.php&amp;lt;/code&amp;gt; file.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Details=== &amp;lt;!--T:16--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
Module requests must include the &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; variable in the URL, paired with the name of the module (i.e. &amp;lt;code&amp;gt;module=session&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;mod_session&amp;lt;/code&amp;gt;).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
This value is also used for:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
*The name of the directory to check for the helper file, e.g. &amp;lt;code&amp;gt;/modules/mod_session/helper.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
*The class name to call, e.g. &amp;lt;code&amp;gt;modSessionHelper&amp;lt;/code&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
Optionally, the &amp;lt;code&amp;gt;method&amp;lt;/code&amp;gt; variable may be included to override the default method prefix of &amp;lt;code&amp;gt;get&amp;lt;/code&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: All methods must end in &amp;lt;code&amp;gt;Ajax&amp;lt;/code&amp;gt;. For example:&amp;lt;/translate&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;method=mySuperAwesomeMethodToTrigger&amp;lt;/code&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
will call&amp;lt;/translate&amp;gt; &amp;lt;code&amp;gt;mySuperAwesomeMethodToTriggerAjax&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
The [https://github.com/Joomla-Ajax-Interface/Ajax-Session-Module Ajax Session Module] is an example module that demonstrates this functionality.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Plugin Response== &amp;lt;!--T:25--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Summary=== &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
Plugin support is accomplished by triggering the &amp;lt;code&amp;gt;onAjax[Name]&amp;lt;/code&amp;gt; plugin event.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Details=== &amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Plugin requests must include the &amp;lt;code&amp;gt;plugin&amp;lt;/code&amp;gt; variable in the URL, paired with the name of the plugin event, e.g. &amp;lt;code&amp;gt;plugin=session&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;onAjaxSession&amp;lt;/code&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
This value is also used for:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
*The plugin class name following the &amp;lt;code&amp;gt;plgAjax[Name]&amp;lt;/code&amp;gt; convention.&lt;br /&gt;
*The plugin function name following the &amp;lt;code&amp;gt;onAjax[Name]&amp;lt;/code&amp;gt; convention.&lt;br /&gt;
*The default plugin group is &amp;lt;code&amp;gt;ajax&amp;lt;/code&amp;gt;. You can change it specifying the &amp;lt;code&amp;gt;group&amp;lt;/code&amp;gt; request parameter. (From Joomla 3.4)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
The [https://github.com/Joomla-Ajax-Interface/Ajax-Latest-Articles Ajax Latest Articles plugin] is an example plugin that demonstrates this functionality.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Response Format== &amp;lt;!--T:33--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;format=[json|debug]&amp;lt;/code&amp;gt; is an optional argument for the results format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;json&amp;lt;/code&amp;gt; for JSON format&lt;br /&gt;
*&amp;lt;code&amp;gt;debug&amp;lt;/code&amp;gt; for human-readable output of the results.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
[[Category:AJAX]]&lt;br /&gt;
[[Category:JavaScript]]&lt;br /&gt;
[[Category:Development]]&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fede91it</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Using_Joomla_Ajax_Interface&amp;diff=184471</id>
		<title>Using Joomla Ajax Interface</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Using_Joomla_Ajax_Interface&amp;diff=184471"/>
		<updated>2015-05-26T13:27:11Z</updated>

		<summary type="html">&lt;p&gt;Fede91it: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{version/tutor|3.2}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;==What is The Joomla Ajax Interface (com_ajax)== &amp;lt;!--T:1--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
A slim, extensible component to act as an entry point for HTTP requests for stand alone modules and plugins, thus allowing for the potential of Ajax functionality in them. Com_ajax is generally used when you are not the developer of the component that the module or plugin is interacting with.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: If you are a component developer, you do not need to use com_ajax to implement Ajax functionality in it. You can do so directly in your component.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Examples of use cases include, but are not limited to:&lt;br /&gt;
*A module that retrieves data from an external API&lt;br /&gt;
*A module that interacts with a component that you did not develop&lt;br /&gt;
*A plugin that implement API like functionality to allow consumption of data from your site&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Anatomy of an Ajax Request== &amp;lt;!--T:5--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Required=== &amp;lt;!--T:6--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;option=com_ajax&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;[module|plugin]=name&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;format=[json|debug|raw]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Optional=== &amp;lt;!--T:7--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;method=[custom fragment]&amp;lt;/code&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
defaults to &amp;lt;code&amp;gt;get&amp;lt;/code&amp;gt; if omitted.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Overview=== &amp;lt;!--T:9--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
All requests begin with &amp;lt;code&amp;gt;?option=com_ajax&amp;lt;/code&amp;gt;, which calls this extension, and must indicate the type of extension to call, and the data format to be returned.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
Additional variables and values used by your extension may also be included in the URL.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
For example, a request to &amp;lt;code&amp;gt;?option=com_ajax&amp;amp;amp;module=session&amp;lt;/code&amp;gt; would call &amp;lt;code&amp;gt;mod_session&amp;lt;/code&amp;gt; with results returned in the default format. In contrast,&amp;lt;code&amp;gt;?option=com_ajax&amp;amp;amp;plugin=session&amp;amp;amp;format=json&amp;lt;/code&amp;gt; would trigger the &amp;lt;code&amp;gt;onAjaxSession&amp;lt;/code&amp;gt; plugin group with results returned in JSON.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Module Support== &amp;lt;!--T:13--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Summary=== &amp;lt;!--T:14--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Module support is accomplished by calling a method in the module&#039;s &amp;lt;code&amp;gt;helper.php&amp;lt;/code&amp;gt; file.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Details=== &amp;lt;!--T:16--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
Module requests must include the &amp;lt;code&amp;gt;module&amp;lt;/code&amp;gt; variable in the URL, paired with the name of the module (i.e. &amp;lt;code&amp;gt;module=session&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;mod_session&amp;lt;/code&amp;gt;).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
This value is also used for:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
*The name of the directory to check for the helper file, e.g. &amp;lt;code&amp;gt;/modules/mod_session/helper.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
*The class name to call, e.g. &amp;lt;code&amp;gt;modSessionHelper&amp;lt;/code&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
Optionally, the &amp;lt;code&amp;gt;method&amp;lt;/code&amp;gt; variable may be included to override the default method prefix of &amp;lt;code&amp;gt;get&amp;lt;/code&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: All methods must end in &amp;lt;code&amp;gt;Ajax&amp;lt;/code&amp;gt;. For example:&amp;lt;/translate&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;method=mySuperAwesomeMethodToTrigger&amp;lt;/code&amp;gt; &amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
will call&amp;lt;/translate&amp;gt; &amp;lt;code&amp;gt;mySuperAwesomeMethodToTriggerAjax&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
The [https://github.com/Joomla-Ajax-Interface/Ajax-Session-Module Ajax Session Module] is an example module that demonstrates this functionality.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Plugin Response== &amp;lt;!--T:25--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Summary=== &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
Plugin support is accomplished by triggering the &amp;lt;code&amp;gt;onAjax[Name]&amp;lt;/code&amp;gt; plugin event.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;===Details=== &amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
Plugin requests must include the &amp;lt;code&amp;gt;plugin&amp;lt;/code&amp;gt; variable in the URL, paired with the name of the plugin event, e.g. &amp;lt;code&amp;gt;plugin=session&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;onAjaxSession&amp;lt;/code&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
This value is also used for:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
*The plugin class name following the &amp;lt;code&amp;gt;plgAjax[Name]&amp;lt;/code&amp;gt; convention.&lt;br /&gt;
*The plugin function name following the &amp;lt;code&amp;gt;onAjax[Name]&amp;lt;/code&amp;gt; convention.&lt;br /&gt;
*The default plugin group is &amp;lt;code&amp;gt;ajax&amp;lt;/code&amp;gt;. You can change it specifying the &amp;lt;code&amp;gt;group&amp;lt;/code&amp;gt; request parameter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
The [https://github.com/Joomla-Ajax-Interface/Ajax-Latest-Articles Ajax Latest Articles plugin] is an example plugin that demonstrates this functionality.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;==Response Format== &amp;lt;!--T:33--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;format=[json|debug]&amp;lt;/code&amp;gt; is an optional argument for the results format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;json&amp;lt;/code&amp;gt; for JSON format&lt;br /&gt;
*&amp;lt;code&amp;gt;debug&amp;lt;/code&amp;gt; for human-readable output of the results.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
[[Category:AJAX]]&lt;br /&gt;
[[Category:JavaScript]]&lt;br /&gt;
[[Category:Development]]&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fede91it</name></author>
	</entry>
</feed>