@AdditionAddict
Posted
On mobile so can’t run code but I’d have type=“button” on the dismiss button. type=“submit” is usually paired with a form and immediate posting of data to the server causing a refresh. A lot of web frameworks that implement forms do a preventDefault because it isn’t the 90s anymore and php use isn’t so prevalent
@DavedCN
Posted
@AdditionAddict I don't really understand the first part of your statement. I have changed type to submit on the dismiss button.