In PHP, I would have
Code: Select all
nuDisplayError('This is an error!', 1);
Code: Select all
nuDisplayError('That is another error!', 2);
In js, one could query the status
Code: Select all
if (errorStatus() == '1') {
}
Is this something that can be added?