Ajax in Joomla Component
If you already have your own joomla component then it is fine otherwise create new one for yourself within minute. Joomla Component Creator
Lets assume we have component “ajaxcall” and we are making ajaxcall from “com_ajaxcall\views\ajaxcall\tmpl\default.php” file.
We will make ajax call to the format “ajaxcallformat” (i.e. view.ajaxcallformat.php)
javascript code in “com_ajaxcall\views\ajaxcall\tmpl\default.php”
<script type="text/javascript">
function AjaxCall(name)
{
var httpxml;
try
{
// Firefox, Opera 8.0+, [...]
