<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ditoinfo in english &#187; javascript</title>
	<atom:link href="http://danteregis.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://danteregis.com</link>
	<description>talking about programming and computer stuff</description>
	<lastBuildDate>Tue, 09 Jun 2009 21:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Howto Debug JavaScript on Internet Explorer</title>
		<link>http://danteregis.com/2007/02/howto-debug-javascript-on-internet-explorer/</link>
		<comments>http://danteregis.com/2007/02/howto-debug-javascript-on-internet-explorer/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 06:39:15 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/02/24/howto-debug-javascript-on-internet-explorer/</guid>
		<description><![CDATA[First things first: I&#8217;m a Firefox evangelist. The problem is: people do use IE.  There&#8217;s nothing we can do about that &#8211; even if we convert everyone to a browser (a real one, I mean), today, at this right moment, most people use Internet Explorer.
So you face a deal: your javascript is working perfectly on [...]]]></description>
			<content:encoded><![CDATA[<p>First things first: I&#8217;m a Firefox evangelist. The problem is: people <strong>do </strong>use IE.  There&#8217;s nothing we can do about that &#8211; even if we convert everyone to a browser (a real one, I mean), today, at this right moment, most people use Internet Explorer.</p>
<p>So you face a deal: your javascript is working perfectly on Firefox, but problems arise on IE. What should we do? <span id="more-5"></span>The only message you get from the &#8220;browser&#8221; are things like &#8220;Unknown Error on Unknown Line&#8221;. Perfect, right?</p>
<p>Normally, you would fill the code with alerts like &#8220;Got into the loop&#8221;, &#8220;i = 10&#8243; etc. It works, most of the time, but if, say, your loop iterates 100 times it&#8217;s quite annoying.  Well, googling around a bit, I found 3 ways to help you out. (1) Microsoft Script Editor, (2) Microsoft Script Debugger, (3) Javascript Debug Window.</p>
<p>The first one comes bundled with MS Office 2003. Since I cannot afford (and wouldn&#8217;t, even if I could)  a copy of a software that costs more than the computer it runs in, and at work we use Office 2000, I could not test it.</p>
<p>The second one, is avaiable for <a href="http://www.microsoft.com/downloads/details.aspx?familyid=2f465be0-94fd-4569-b3c4-dffdf19ccd99&amp;displaylang=en" target="_blank">download here</a>, and works fairly well. There&#8217;s a big problem, though: It only worked for me when running as Administrator of the machine. Well, running IExplorer is already a security issue, running it as Administrator is like asking to be hacked.</p>
<p>So, it left us with using a <a href="http://www.isocra.com/articles/jsdebug.php" target="_blank">debug window</a>.  It opens a window that will output the text you send to it through the new debug() function. Just place the code on your page and you should be OK. I took this tip from Isocra website, all credits go to people there!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/02/howto-debug-javascript-on-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
