I have a JS on an element, when from fronted I try to create a new form from the page:
it works
but when I try to editing from:
It does not.
Code:
http://localhost:8080/site/index.php/mazzi/form/8
but when I try to editing from:
Code:
http://localhost:8080/site/index.php/mazzi/form/8/10
Code:
var elementid = this.getValue();
var url = 'http://localhost:8080/site/index.php?option=com_fabrik&format=raw&view=plugin&task=userAjax&method=imgclasse';
new Request(
{
url: url,
data: {
method: 'imgclasse',
identify: elementid,
},
onComplete: function (r)
{
$('mazzi___display').innerHTML = (r);
}
}).send();