Main Page

all cases

Now, all cases are covered. If the user is accessing the page with an incorrect browser, the error message
is displayed (Figure 8-1) because the script will not hide it to show the login form.
Figure 8-1
If the browser being used does not support JavaScript, the code isn’t run and the additional message is
displayed (Figure 8-2).
Browser and Operating System Detection
11_579088 ch08.qxd 3/28/05 11:38 AM Page 257

JavaScript EditorFree JavaScript Editor     Ajax Editor