Thanks for that. I'm not sure "rusty" is correct, this seems to be new in J5(or 4).I am a bit too rusty.
I now have something that's working, although a bit poor imnvho.
The js
Code:
let url = 'index.php?option=com_lmf&view=posts&task=' + task;let data = new FormData();data.append('cid', ids);$app = Factory::getApplication();$postieIds = explode(',', $app->getInput()->get('cid', [], 'string'));const options = {method: 'POST',body: data};response = await fetch(url, options).then(fSuccess, fFailure);
Code:
$app = Factory::getApplication();$postieIds = explode(',', $app->getInput()->get('cid', [], 'string'));
Statistics: Posted by MarkRS — Tue Feb 13, 2024 12:26 pm