
Originally Posted by
ralph.m
JS is very unreliable, in that users may have it turned off, or may not be able to access its messages. Modal boxes can also be very difficult in terms of accessibility. Imagine someone using a screen reader. While these do support JS, I'm not sure how well they understand messages appearing on screen—especially in a modal box that may be hard to navigate to. PHP is better in that you know it can't be turned off, and in that it requires a page reload, which makes it easier to convey messages to everyone.
Bookmarks