Just wondering if there is a way to include a JQuery modal box/popup in the event of a PHP else die statement, e.g: else die("Invalid");
.
So rather than the output Invalid
displaying on the page, the else die triggers a JQuery modal popup box that contains the output Invalid
.