<?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>vijayjoshi.org &#187; IE</title>
	<atom:link href="http://www.vijayjoshi.org/tag/ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vijayjoshi.org</link>
	<description>php &#124; javascript &#124; ajax &#124; and all things web</description>
	<lastBuildDate>Sun, 20 Nov 2011 15:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Filling a select box using javascript and jQuery</title>
		<link>http://www.vijayjoshi.org/2010/12/21/filling-a-select-box-using-javascript-and-jquery/</link>
		<comments>http://www.vijayjoshi.org/2010/12/21/filling-a-select-box-using-javascript-and-jquery/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 08:25:22 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=861</guid>
		<description><![CDATA[
			
				
			
		
innerHTML is commonly used property for setting html content of elements. Though it is not a standard property, even then all browsers support it. It is faster then using DOM methods like createElement and appendChild.
You can use it to set html for almost all elements. In internet explorer there are some exceptions. You cannot set innerHTML for elements of a ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F21%2Ffilling-a-select-box-using-javascript-and-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F21%2Ffilling-a-select-box-using-javascript-and-jquery%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>innerHTML is commonly used property for setting html content of elements. Though it is not a standard property, even then all browsers support it. It is faster then using DOM methods like createElement and appendChild.</p>
<p>You can use it to set html for almost all elements. <strong>In internet explorer there are some exceptions. You cannot set innerHTML for <a title="innerHTML of a table" href="http://www.vijayjoshi.org/2008/07/28/internet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript/">elements of a table</a> and <a title="innerHTML of select box" href="http://www.vijayjoshi.org/2008/10/05/setting-innerhtml-of-select-ie-screws-me-again/">select box</a>.</strong></p>
<p>Recently a reader asked me the workaround for setting options inside a select box with the help of javascript or jQuery. In this post I will explain some methods which you can use as an alternate to innerHTML.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_453" class="wp-caption aligncenter" style="width: 190px;">
<dt class="wp-caption-dt"><a href="http://www.vijayjoshi.org/examples/fillSelectBox.html"><img class="size-full wp-image-453" title="demo" src="http://www.vijayjoshi.org/wp-content/uploads/demo.png" alt="View Demo" width="180" height="45" /></a></dt>
</dl>
</div>
<p>Here is a html select box.</p>
<pre class="brush:html">&lt;select id="selectBox"&gt;
&lt;/select&gt;</pre>
<p>Now let us look at various options available to us.</p>
<p><span id="more-861"></span></p>
<h3>Using innerHTML</h3>
<p>This is the problem. This method will work in all browsers except IE (i have tested till IE8).</p>
<pre class="brush:js">var select = document.getElementById('selectBox');
var options = '&lt;option&gt;option 1&lt;/option&gt;';
options+= '&lt;option&gt;option 2&lt;/option&gt;';
options+= '&lt;option&gt;option 3&lt;/option&gt;';
select.innerHTML = options;</pre>
<h3>Using DOM &#8211; Works in all browsers</h3>
<pre class="brush:js">var select = document.getElementById('selectBox');
for(var i=0; i&lt;3; i++)
{
	var option = document.createElement('option');
	option.appendChild(document.createTextNode('option' + i));
	select.appendChild(option);
}</pre>
<h3>Using jQuery</h3>
<p>Method 1- This will work in all browsers.</p>
<pre class="brush:js">$('#selectBox').append('&lt;option&gt;an option&lt;/option&gt;');
$('#selectBox').append('&lt;option&gt;another option&lt;/option&gt;');
$('#selectBox').append('&lt;option&gt;yet another option&lt;/option&gt;');</pre>
<p>append method appends the html at the end of an element.</p>
<h3>Using jQuery</h3>
<p>Method 2 &#8211; This will also work in all browsers.</p>
<pre class="brush:js">var options = '&lt;option&gt;option 1&lt;/option&gt;';
options+= '&lt;option&gt;option 2&lt;/option&gt;';
options+= '&lt;option&gt;option 3&lt;/option&gt;';
$('#selectBox').html(options);</pre>
<p>html() method in jQuery can be thought of as a counterpart of the innerHTML property.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_453" class="wp-caption aligncenter" style="width: 190px;">
<dt class="wp-caption-dt"><a href="http://www.vijayjoshi.org/examples/fillSelectBox.html"><img class="size-full wp-image-453" title="demo" src="http://www.vijayjoshi.org/wp-content/uploads/demo.png" alt="View Demo" width="180" height="45" /></a></dt>
</dl>
</div>
<p>That is all folks. Hope it helps you. If you know of any other technique, do let me know in comments.</p>
<div class="shr-publisher-861"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F21%2Ffilling-a-select-box-using-javascript-and-jquery%2F' data-shr_title='Filling+a+select+box+using+javascript+and+jQuery'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2010/12/21/filling-a-select-box-using-javascript-and-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>5 must have firefox addons for every web developer</title>
		<link>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/</link>
		<comments>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:24:58 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=509</guid>
		<description><![CDATA[
			
				
			
		
Being a web developer there are some tools which I need and use on daily basis. Here are 5 such addons I think every web developer should install on their firefox.
1- Web developer toolbar

Home: http://chrispederick.com/work/web-developer/
Install: https://addons.mozilla.org/en-US/firefox/addon/60


 


This addon adds a toolbar and a menu to firefox. The toolbar contains several mini tools in it to perform various tasks. It has ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p class="mceTemp mceIEcenter" style="text-align: left;">Being a web developer there are some tools which I need and use on daily basis. Here are 5 such addons I think every web developer should install on their firefox.</p>
<h3 class="mceTemp mceIEcenter" style="text-align: left;">1- Web developer toolbar</h3>
<p class="mceTemp mceIEcenter" style="text-align: left;">
<p class="mceTemp mceIEcenter" style="text-align: left;"><strong>Home: </strong><a href="http://chrispederick.com/work/web-developer/" target="_self">http://chrispederick.com/work/web-developer/</a></p>
<p class="mceTemp mceIEcenter" style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_self">https://addons.mozilla.org/en-US/firefox/addon/60</a></p>
<p><img class="size-full wp-image-505 " style="border: 1px solid black;" title="web-developer" src="http://www.vijayjoshi.org/wp-content/uploads/web-developer.png" alt="Web Developer Toolbar" width="545" height="381" /></p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_505" class="wp-caption aligncenter" style="width: 555px;"> </dl>
</div>
<p style="text-align: left;">
<p style="text-align: left;">This addon adds a toolbar and a menu to firefox. The toolbar contains several mini tools in it to perform various tasks. It has 11 built in menus for different tasks like cookies, css, forms, html, images and many others. You can read a review of web developer toolbar <a href="http://tips.webdesign10.com/web-developer-toolbar.htm" target="_self">here</a>.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<h3 style="text-align: left;">2- JSONView<strong> </strong></h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://benhollis.net/blog/2009/02/24/jsonview-view-json-documents-in-firefox/" target="_self">http://benhollis.net/blog/2009/02/24/jsonview-view-json-documents-in-firefox/</a></p>
<p><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/10869" target="_self">https://addons.mozilla.org/en-US/firefox/addon/10869</a></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-508" style="border: 1px solid black;" title="jsonview" src="http://www.vijayjoshi.org/wp-content/uploads/jsonview.png" alt="" width="315" height="375" /></p>
<p style="text-align: left;">JSON is becoming more popular day by day as a data exchange format. JSONView allows you to view json documents in the browser itself without having to open in any text editor and format it. Local files can also be seen if they have .json extension. It formats the document nicely and also provides options to collapse/expand nodes too (just like XML).<br />
In case of invalid json it reports an error.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<h3>3- Fireftp</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong> Home: </strong><a href="http://fireftp.mozdev.org/" target="_self">http://fireftp.mozdev.org/</a></p>
<p style="text-align: left;"><strong> Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/684" target="_self">https://addons.mozilla.org/en-US/firefox/addon/684</a></p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-507" title="fireftp" src="http://www.vijayjoshi.org/wp-content/uploads/fireftp.png" alt="" width="590" height="420" /></p>
<p style="text-align: left;">You will not have to open a separate ftp client if you use this. To open Fire FTP, go to <strong>Tools -&gt; Fire FTP</strong> on firefox menu bar. It opens an easy to use interface in a new tab. You can create multiple accounts and you will get all the features that you expect from a ftp client.</p>
<p style="text-align: left;"><strong>From the site: </strong>&#8220;Along with transferring your files quickly and efficiently, FireFTP also includes more advanced features such as: directory comparison, syncing directories while navigating, SFTP, SSL encryption, search/filtering, integrity checks, remote editing, drag &amp; drop, file hashing, and much more!&#8221;</p>
<p style="text-align: left;"><strong><span id="more-509"></span></strong></p>
<p style="text-align: left;">
<h3>4- IE Tab</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://ietab.mozdev.org/" target="_self">http://ietab.mozdev.org/</a></p>
<p style="text-align: left;"><strong> Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1419" target="_self">https://addons.mozilla.org/en-US/firefox/addon/1419</a></p>
<p style="text-align: left;">
<p style="text-align: left;">Use IE tab if you want to check display of your web pages in Internet explorer. Instead of opening IE separately, it will open a tab in firefox which will display your page using the IE engine installed on your machine.  It will put an icon on your status bar using which you can switch engines.</p>
<p style="text-align: center;">
<h3>5- Firebug</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://getfirebug.com/" target="_self">http://getfirebug.com/</a></p>
<p style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_self">https://addons.mozilla.org/en-US/firefox/addon/1843</a></p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-506" title="firebug" src="http://www.vijayjoshi.org/wp-content/uploads/firebug.png" alt="firebug" width="590" height="280" /></p>
<p style="text-align: left;">
<p style="text-align: left;">How can a firefox addons list be complete without Firebug. <strong> </strong></p>
<p style="text-align: left;"><strong>From the site:</strong> &#8220;Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.&#8221;</p>
<p style="text-align: left;">Firebug needs no inroduction to web developers. It reduces the development time to a great extent, specially if your application relies on javascript/ajax too much. It provides rock solid debugging for javascript where you can add/remove breakpoints, watch variables in real time and much more.</p>
<p style="text-align: left;">Want more? You can inspect and edit html/css on the fly to change the look and feel of a page. You can also check the download time for your css files,scripts, images and html pages using the net tab which are helpful for optimizations.</p>
<p style="text-align: left;">Firbug has a number of addons too (yes! addons for an addon). I recommend both the addons given below.</p>
<p><strong>Page Speed </strong>: It is an addon from Google which is used to analyze the loading performance of a page. It tests a page against Web Performance Best Practices which you can <a href="http://code.google.com/speed/page-speed/docs/rules_intro.html" target="_self">read here</a>. After this a score out of 100 is provided. Greater score means faster page load. Install it from <a href="http://code.google.com/speed/page-speed/download.html" target="_self">this link</a>.</p>
<p><strong>YSlow: </strong>YSlow is a addon similar to Page Speed. It is created by Yahoo. YSlow measures a web page&#8217;s performance against a set of rules for high performance pages created by Yahoo. You can <a href="https://addons.mozilla.org/en-US/firefox/addon/5369" target="_self">download it from</a> here and <a href="http://developer.yahoo.com/performance/rules.html" target="_self">read the performance criteria here</a>.</p>
<p style="text-align: left;">
<h3>Bonus:  Colorzilla<strong> </strong></h3>
<p><strong>Home: </strong><a href="http://www.colorzilla.com/firefox/" target="_self">http://www.colorzilla.com/firefox/</a></p>
<p style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/271" target="_self">https://addons.mozilla.org/en-US/firefox/addon/271</a></p>
<p style="text-align: left;">Need to pick a color from any web page, text or image within browser? Just click colorzilla, which sits at extreme left of your status bar, and point to that location. Now right click on colorzilla and you can copy rgb and hex color codes for that color.</p>
<p style="text-align: left;">It comes with a built in Color Picker and Palette Browser.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div class="shr-publisher-509"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F' data-shr_title='5+must+have+firefox+addons+for+every+web+developer'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Another flaw in IE : 10,000 sites compromised</title>
		<link>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/</link>
		<comments>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 08:22:14 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=221</guid>
		<description><![CDATA[
			
				
			
		
In my previous post I discussed about the security flaws and other shortcomings in IE. Incidentally, the same day a news article appeared on BBC News which reported about a new security vulnerability found in IE7. ( Thanks to Jyotsna for passing this news).
The article describes about a new security hole found in IE7 exploiting which hackers can steal the ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In my <a title="Stop using IE" href="http://www.vijayjoshi.org/2008/12/16/when-will-you-stop-using-ie/" target="_blank">previous post</a> I discussed about the security flaws and other shortcomings in IE. Incidentally, the same day a news article appeared on BBC News which reported about a new security vulnerability found in IE7. ( Thanks to <a title="Jyotsna's blog" href="http://jyotsna.philogy.com/" target="_blank">Jyotsna</a> for passing this news).</p>
<p>The article describes about a new security hole found in IE7 exploiting which hackers can steal the passwords of users. In my opinion this is not a new news. Many more problems were already there with IE6. It is when users come across such a  problem, MS people, in haste, prepare a patch and fix it.</p>
<p>Since this new flaw has been found, 2 million users have been attacked and 10,000 websites has been compromised.</p>
<p>Although Microsoft <a href="http://www.microsoft.com/protect/computer/updates/bulletins/200812_oob.mspx">released a patch</a> for the same on the very next day,17th Dec, it will be a mammoth task to reinstall the trust of users, given the number of safer and better browsers available.</p>
<p>Still thinking IE users? Its time to switch now to safer, faster and better. I said earlier too, there are too many options. Choose whatever suits you.</p>
<p>Personally , I will say : Get Firefox</p>
<p style="text-align: center;"><a href="http://www.mozilla.com/firefox?from=sfx&#038;uid=0&#038;t=305"><img border="0" alt="Spreadfirefox Affiliate Button" src="http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/110x32_best-yet.png" /></a></p>
<p style="text-align: center;"><a title="BBC News about flaw in IE" href="http://news.bbc.co.uk/2/hi/technology/7784908.stm" target="_blank">Read the full article on BBC News</a></p>
<div class="shr-publisher-221"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F' data-shr_title='Another+flaw+in+IE+%3A+10%2C000+sites+compromised'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When will you stop using IE?</title>
		<link>http://www.vijayjoshi.org/2008/12/16/when-will-you-stop-using-ie/</link>
		<comments>http://www.vijayjoshi.org/2008/12/16/when-will-you-stop-using-ie/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 12:29:25 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=214</guid>
		<description><![CDATA[
			
				
			
		
I am tired of making web applications work on IE. I can understand the frustration of this guy who created a pie chart for breakdown of time spent in web development. Making an application work on IE takes most of the time. Be it the issue of setting innerHTML of select or setting innerhtml or rows.
IE is for sure a ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F16%2Fwhen-will-you-stop-using-ie%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F16%2Fwhen-will-you-stop-using-ie%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I am tired of making web applications work on IE. I can understand the frustration of this guy who created a pie chart for <a href="http://humor.beecy.net/geeks/web-design/">breakdown of time spent in web development</a>. Making an application work on IE takes most of the time. Be it the <a href="http://www.vijayjoshi.org/2008/10/05/setting-innerhtml-of-select-ie-screws-me-again/">issue of setting innerHTML of select</a> or <a href="http://www.vijayjoshi.org/2008/07/28/internet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript/">setting innerhtml or rows</a>.</p>
<p>IE is for sure a non standards browser. Major problem is when all other browsers are following w3c standards, IE is still blowing its own trumpet. M*soft must realize now that gone are the days when IE had monopoly in the browser market.<br />
IE has a long list of shortcomings such as little standards Compliance.IE was the only major browser to fail in the acid test in its public release.This test tells that neither IE6 nor IE7 even came close to passing the acid test.Other than that security is also a major concern. According to a study done by The Washington post <a href="http://blog.washingtonpost.com/securityfix/2007/01/internet_explorer_unsafe_for_2.html">Internet Explorer was unsafe for 284 Days in 2006 whereas Firefox only 9</a>.<br />
Another issue is regarding CSS and images. IE has issues with CSS selectors and other major problem is png alpha transparency. Transparency allows you to make a pixel in an image partially or completely transparent. No support in IE for that too.<br />
Now some testing with IE. Do you know even a single line of code can crash IE. <a href="http://immike.net/blog/2007/08/06/single-line-of-html-crashes-ie-6/">See the proof here</a>.There are several other methods which you can see <a href="http://seo2.0.onreact.com/top-7-ways-to-crash-internet-explorer">here</a> and <a href="http://www.modernlifeisrubbish.co.uk/article/how-to-crash-internet-explorer">here</a></p>
<p>Take a look at <a href="http://iedeathmarch.org/">IE Death March</a>, <a href="http://www.stopie.com/">Stop IE</a>. No wonder developers now do not want to create application for IE anymore. This article at Digg has received 9899 diggs so far : <a href="http://digg.com/programming/Digg_this_if_you_re_tired_of_IE_costing_you_money_no_ads_involved">Digg_this_if_you_re_tired_of_IE</a></p>
<p>So, what to do? Answer is simple : there many other better browsers available. Choose among them.<br />
<a href="http://www.mozilla.com/en-US/firefox/">Firefox</a>. Hundreds of plug ins and add-ons.<br />
<a href="http://www.google.com/chrome">Chrome</a> &#8211; Super fast.<br />
<a href="http://www.opera.com/download/">Opera</a><br />
<a href="http://www.apple.com/safari/download/">Safari</a></p>
<p>Personally I do not wish to waste my time creating applications that does not work on IE. What about you? When will you stop using IE?</p>
<p>Stumble this page if you liked it.</p>
<div class="shr-publisher-214"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F16%2Fwhen-will-you-stop-using-ie%2F' data-shr_title='When+will+you+stop+using+IE%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2008/12/16/when-will-you-stop-using-ie/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Internet Explorer innerHTML problem while adding rows in table with javascript</title>
		<link>http://www.vijayjoshi.org/2008/07/28/internet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript/</link>
		<comments>http://www.vijayjoshi.org/2008/07/28/internet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 12:59:57 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=14</guid>
		<description><![CDATA[
			
				
			
		
If you are a web developer and work with js/AJAX, surely you would have faced a situation like this.
I had a table in a page. What i had to do was create rows in javascript and set the innerhtml of table to the rows created. Something like this-

var tableContents = "";
for(var i=0;i&#60;;5;i++)
{
	tableContents+= "&#60;tr&#62;";
	tableContents+= "&#60;td&#62;";
	tableContents+= "cell content";
	tableContents+= "&#60;/td&#62;";
	tableContents+= "&#60;/tr&#62;";
}
document.getElementById("myTable").innerHTML = tableContents;
Of ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F07%2F28%2Finternet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F07%2F28%2Finternet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left">If you are a web developer and work with js/AJAX, surely you would have faced a situation like this.<br />
I had a table in a page. What i had to do was create rows in javascript and set the innerhtml of table to the rows created. Something like this-</p>
<p style="text-align: left">
<pre class="brush:js">var tableContents = "";
for(var i=0;i&lt;;5;i++)
{
	tableContents+= "&lt;tr&gt;";
	tableContents+= "&lt;td&gt;";
	tableContents+= "cell content";
	tableContents+= "&lt;/td&gt;";
	tableContents+= "&lt;/tr&gt;";
}
document.getElementById("myTable").innerHTML = tableContents;</pre>
<p>Of course assuming <strong><em>myTable </em></strong>is the table element available in the page.</p>
<p>I prefer innerHTML over DOM functions as they are <a href="http://www.quirksmode.org/dom/innerhtml.html" target="_blank">faster</a> on all browsers and platforms.</p>
<p>Anyway, I checked above code and found that it worked perfectly in all browsers (firefox, opera &#8230;) except IE (<a href="http://www.schneier.com/blog/archives/2005/12/internet_explor.html" target="_blank">http://www.schneier.com/blog/archives/2005/12/internet_explor.html</a>).<br />
No error and nothing, my table was still empty.<br />
<span id="more-14"></span><br />
Well, after many undsuccessfull attempts with innerHTML,I tried google and came up with this.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms533897(VS.85).aspx</a><br />
It clearly says-</p>
<p>&#8220;The property is read/write for all objects except the following, for which it is read-only: COL, COLGROUP, FRAMESET, HEAD, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR. The property has no default value.&#8221;</p>
<p>I dont know why they have done this but thats the way IE is.<br />
So keep in mind the next time you have to do something like this.</p>
<div class="shr-publisher-14"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F07%2F28%2Finternet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript%2F' data-shr_title='Internet+Explorer+innerHTML+problem+while+adding+rows+in+table+with+javascript'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2008/07/28/internet-explorer-innerhtml-problem-while-adding-rows-in-table-with-javascript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

