I have a button and alert widget. When I press the button I would like to change the alert type and description. I've create a JS query:
alert1.description = "my description";
alert1.type = "error";
This query trigger on button pressed, but the alert widget doesn't change. What am I missing here?