差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| study:javascript:debug [2008/04/18 04:57] – banana | study:javascript:debug [2011/09/22 04:15] (現在) – banana | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Display error messages of javascript ====== | ====== Display error messages of javascript ====== | ||
| - | 以下のコードを入れるとjavascriptコードの何行目でエラーが起こったか分かる。\\ | + | 以下のコードでjavascriptソースの何行目でエラーが発生しているか分かります。\\ |
| - | ちなみに、Firefoxの**Firebug**というaddonを設置すると、とてもデバッグがやりやすいので、ぜひ試してみよう。 | + | |
| <code javascript> | <code javascript> | ||
| onerror=handleErr; | onerror=handleErr; | ||