With the same structure as with form_X.js used for list_X.js I cannot post.
function newOrderJS(){
var rowitem = 70;
var url="index.php?option=com_fabrik&format=raw&task=plugin.userAjax&method=neworderphp&rowitem=" + rowitem;
var response = '';
new Request(
{ url: url,
method: 'neworderphp', 'rowitem': rowitem,
onComplete:function(response){
if(response !== '') {
alert(response);
}
}
}).sent();
}
Is there any typo here? Any idea where to start searching?
function newOrderJS(){
var rowitem = 70;
var url="index.php?option=com_fabrik&format=raw&task=plugin.userAjax&method=neworderphp&rowitem=" + rowitem;
var response = '';
new Request(
{ url: url,
method: 'neworderphp', 'rowitem': rowitem,
onComplete:function(response){
if(response !== '') {
alert(response);
}
}
}).sent();
}
Is there any typo here? Any idea where to start searching?