Learning PHP, MySQL, JavaScript, and CSS by Robin Nixon

Learning PHP, MySQL, JavaScript, and CSS by Robin Nixon

Author:Robin Nixon [Robin Nixon]
Language: eng
Format: epub
Tags: COMPUTERS / Web / Web Programming
ISBN: 9781449337476
Publisher: O'Reilly Media
Published: 2012-08-12T16:00:00+00:00


Note

It is possible to leave out the type="text/javascript" parameter; all modern browsers default to assuming that the script contains JavaScript.

Debugging JavaScript Errors

When learning JavaScript, it’s important to be able to track typing or other coding errors. Unlike PHP, which displays error messages in the browser, JavaScript error messages are handled differently, and in a way that changes according to the browser used. Table 13-1 lists how to access JavaScript error messages in each of the five most commonly used browsers.

Table 13-1. Accessing JavaScript error messages in different browsers

Browser

How to access JavaScript error messages



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.