Simple question about Json - Joomla! Forum - community, help and support
there component uses following javascript code:
and set response component.
in more simple words:
how generate json output?
code: select all
var $jq = jquery.noconflict();
$jq.ajax(
{
url: index.php?option=com_somecom&task=dotask,
type: 'post',
datatype: 'json',
data: $jq('#test-form').serialize(),
success: function(response){
$jq('#status').html(response.message);
}
});
and set response component.
in more simple words:
how generate json output?
i solved it. simple question.
Comments
Post a Comment