{"id":589,"date":"2013-02-26T16:01:21","date_gmt":"2013-02-26T16:01:21","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/02\/26\/diagnose-javascript-errors\/"},"modified":"2021-08-16T23:21:14","modified_gmt":"2021-08-17T03:21:14","slug":"diagnose-javascript-errors","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/","title":{"rendered":"How Do I Diagnose JavaScript Errors on My Site?"},"content":{"rendered":"<p>Websites use several different Website coding languages to work. All websites use <a href=\"\/support\/edu\/joomla\/joomla-2-5\/html-and-links\/\" target=\"_blank\" rel=\"noopener\">HTML<\/a>, <a href=\"\/support\/website\/the-benefits-of-css\/\" target=\"_blank\" rel=\"noopener\">CSS<\/a>, and <a href=\"\/support\/website\/website-design\/javascript-failure-jquery-update\/\" target=\"_blank\" rel=\"noopener\">JavaScript<\/a> to render the webpage to the visitor.<\/p>\n<p>When the website is loading but the website is not displaying correctly, this is usually due to a coding error on the site. Usually this is caused by JavaScript or CSS errors. This article will focus on <strong>diagnosing JavaScript coding errors.<\/strong><\/p>\n<h2>How do I know its a JavaScript problem?<\/h2>\n<p>JavaScript is used to make different behaviors happen on your site. These behaviors are all done through the Visitor of the sites browser. Examples of this are Image Slide Shows, Pop Up boxes, Menus, and more. When your website loads, but the behaviors on your site stopped working, this is usually because of the JavaScript code not working.<\/p>\n<h2>What happens when your JavaScript fails?<\/h2>\n<p>If you have JavaScript\u2019s on your site that are not working you can diagnose them by using your browsers \u201c<em>Error Console<\/em>\u201c. Each browser has a built in \u201c<em>Error Console<\/em>\u201d for diagnosing scripting errors on your site. Below will show you how to check the \u201c<em>Error Console<\/em>\u201d in FireFox, Internet Explorer, Chrome, Opera, and Safari.<\/p>\n<h2>Diagnosing a JavaScript error<\/h2>\n<p><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"740\" height=\"573\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\" class=\"optimized-lcp-image\" alt=\"Simple JavaScript pou up Error Console\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>In order to explain how to diagnose a JavaScript error, we will use the simple \u201c<em>pop up<\/em>\u201d script below (Snapshot to the right shows what it does):<\/p>\n<pre style=\"margin-left: 20px;\"><script> function myFunction() { alert (<span style=\"color: #006600;\">\"I am an alert box!\"<\/span>); } <\/script><\/pre>\n<div><br style=\"clear: both;\"><\/div>\n<p>This script simply creates a pop up box that says \u201c<em>I am an alert box!<\/em>\u201c. We will break the script so that is causes an error by removing one of the quotes like the following.<\/p>\n<pre style=\"margin-left: 20px;\"><script> function myFunction() { alert (<span style=\"color: #ff0000;\">I am an alert box!\"<\/span>); } <\/script><\/pre>\n<p><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-x-code.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Broken code for example Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-x-code.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>When the website is ran, the code will break where the quote is missing. The snapshot to the right shows the code that\u2019s broken, and where the lines are in the code. <br style=\"clear: both;\"><\/p>\n<p>In this case Line 33 is broken. The methods below will show you how to find the lines of broken code through your browser.<\/p>\n<h2>Javascript console for FireFox<\/h2>\n<p>Using the code example from the \u201c<em>Diagnosing a JavaScript error<\/em>\u201d section above, We will find the JavaScript error using Firefox.<\/p>\n<ol class=\"article_list\">\n<li>Open FireFox.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-2-firefox-tools.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Fire fox Error Console tools\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-2-firefox-tools.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Go to <strong>Tools<\/strong> &gt; <strong>Web Developer<\/strong> &gt; <strong>Error Console<\/strong>. If you do not have Tools at the top you can use the following shortcut: <\/p>\n<pre style=\"margin-left: 20px;\">Ctrl + Shift + J<\/pre>\n<p> <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-3-firefox-javascript-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"FireFox Error Console window\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-3-firefox-javascript-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Visit the page with the error. In this case you will see the error on Line 33 in the FireFox Error Console. See image to the right. <br style=\"clear: both;\"><\/p><\/li>\n<\/ol>\n<h2>Javascript console for Internet Explorer<\/h2>\n<p>Keep in mind we are using the code example from the \u201c<em>Diagnosing a JavaScript error<\/em>\u201d section at the beginning of this article. Below is how to use the Error Console in Internet Explorer.<\/p>\n<ol class=\"article_list\">\n<li>Open Internet Explorer.<\/li>\n<li>Press the function key on your keyboard, <strong>F12<\/strong>.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-4-internet-explorer-error-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Internet Explorer Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-4-internet-explorer-error-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Visit your webpage with the error. You will see the error with the line number of where the error occurs in the document in the bottom Error Console window. The snapshot to the right shows the error on line 33. <br style=\"clear: both;\"><\/p><\/li>\n<\/ol>\n<h2>Javascript console for Chrome<\/h2>\n<p>From the \u201c<em>Diagnosing a JavaScript error<\/em>\u201d section example towards the top, we will find the JavaScript error on a webpage in Google Chrome.<\/p>\n<ol class=\"article_list\">\n<li>Open Google Chrome.<\/li>\n<li>Click the \u201c<em>Customize and Control Google Chrome<\/em>\u201d button at the top right side.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-5-chrome-tools.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Chrome tools Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-5-chrome-tools.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>From the drop menu, go to <strong>Tools<\/strong> &gt; <strong>JavaScript console<\/strong>. Or you can press: <\/p>\n<pre style=\"margin-left: 20px;\">Ctrl + Shift + J<\/pre>\n<p> <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-6-chrome-error-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Chrome Error Console window\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-6-chrome-error-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Visit the site with the error. In the Error Console window you will see the error show on line 33. See image to the right. <br style=\"clear: both;\"><\/p><\/li>\n<\/ol>\n<h2>Javascript console for Opera<\/h2>\n<p>Continuing to diagnose the error from \u201c<em>Diagnosing a JavaScript error<\/em>\u201d section, we will find the JavaScript error on a webpage in Opera.<\/p>\n<ol class=\"article_list\">\n<li>Open Opera.<\/li>\n<li>Click the Opera button towards the top right.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-7-opera-page-developer.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Opera page developer Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-7-opera-page-developer.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Navigate to <strong>Page<\/strong> &gt; <strong>Developer Tools<\/strong> &gt; <strong>Error Console<\/strong>. Or you can press the following keyboard keys: <\/p>\n<pre style=\"margin-left: 20px;\">Ctrl + Shift + O<\/pre>\n<p> <br style=\"clear: both;\"> <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-8-opera-error-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Opera Error Console window\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-8-opera-error-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>The Error Console will pop up. You can move the window to the side while you visit your site. You will see the errors list when you visit the site with the broken code. The image to the right shows the error on line 33. <br style=\"clear: both;\"><\/p><\/li>\n<\/ol>\n<h2>Javascript console for Safari<\/h2>\n<p>Continuing the previous example error from \u201c<em>Diagnosing a JavaScript error<\/em>\u201d section, We will look at the Error Console in Safari.<\/p>\n<ol class=\"article_list\">\n<li>Open up your Safari browser.<\/li>\n<li>Click the \u201c<em>Display a menu of general Safari settings<\/em>\u201d button towards the top right that looks like a gear.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-9-preferences-safari.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Safari Preferences Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-9-preferences-safari.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click <strong>Preferences<\/strong>.<br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-10-show-develop.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Safari Show Develop menu Error Console\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-10-show-develop.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>On the <strong>Advanced<\/strong> tab, make sure you have the \u201c<em>Show Develop menu in menu bar<\/em>\u201d box checked. <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-11-show-error-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Show the Error Console in Safari\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-11-show-error-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>\u201c<em>Display a menu for the current page<\/em>\u201d icon towards the top right that looks like a paper with a bent corner. <\/p>\n<p>Go to <strong>Develop<\/strong> &gt; <strong>Show Error Console<\/strong>. Or you can press:<\/p>\n<pre style=\"margin-left: 20px;\">Ctrl + Alt + C<\/pre>\n<p> <br style=\"clear: both;\"> <\/p>\n<p>\u00c2\u00a0<\/p>\n<p> <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-12-safari-error-console.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"Safari Error Console window\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-12-safari-error-console.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Visit your webpage that is broken and check the Error Console at the bottom. The errors will list when you refresh your browser. In this case you can see the error on line 33 in the snapshot to the right. <br style=\"clear: both;\"><\/p><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Websites use several different Website coding languages to work. All websites use HTML, CSS, and JavaScript to render the webpage to the visitor. When the website is loading but the website is not displaying correctly, this is usually due to a coding error on the site. Usually this is caused by JavaScript or CSS errors.<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\"> Read More ><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4335],"tags":[],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-error-numbers"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-26T16:01:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:21:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\"},\"headline\":\"How Do I Diagnose JavaScript Errors on My Site?\",\"datePublished\":\"2013-02-26T16:01:21+00:00\",\"dateModified\":\"2021-08-17T03:21:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\"},\"wordCount\":802,\"commentCount\":12,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\",\"articleSection\":[\"Website Error Numbers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\",\"name\":\"How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\",\"datePublished\":\"2013-02-26T16:01:21+00:00\",\"dateModified\":\"2021-08-17T03:21:14+00:00\",\"description\":\"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif\",\"width\":740,\"height\":573,\"caption\":\"Click here to view the larger image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Diagnose JavaScript Errors on My Site?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\",\"name\":\"InMotion Hosting Contributor\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting","description":"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting","og_description":"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-02-26T16:01:21+00:00","article_modified_time":"2021-08-17T03:21:14+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41"},"headline":"How Do I Diagnose JavaScript Errors on My Site?","datePublished":"2013-02-26T16:01:21+00:00","dateModified":"2021-08-17T03:21:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/"},"wordCount":802,"commentCount":12,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif","articleSection":["Website Error Numbers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/","name":"How Do I Diagnose JavaScript Errors on My Site? | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif","datePublished":"2013-02-26T16:01:21+00:00","dateModified":"2021-08-17T03:21:14+00:00","description":"This will teach you how to diagnose a JavaScript error through FireFox, Internet Explorer, Chrome, Opera, and safari.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/02\/website_how-to_diagnose-error-console_javascript-problems-1-simple-pop-up.gif","width":740,"height":573,"caption":"Click here to view the larger image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/diagnose-javascript-errors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How Do I Diagnose JavaScript Errors on My Site?"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41","name":"InMotion Hosting Contributor","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=589"}],"version-history":[{"count":1,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/589\/revisions"}],"predecessor-version":[{"id":84920,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/589\/revisions\/84920"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}