<p>After hours of debugging, it appears to me that in FireFox, the innerHTML of a DOM reflects what is actually in the markup, but in IE, the innerHTML reflects what's in the markup PLUS any changes made by the user or dynamically (i.e. via Javascript).</p>

<p>Has anyone else found this to be true? Any interesting work-arounds to ensure both behave the same way?</p>

[{'answer_id': 36793, 'author': 'Pat', 'author_id': 238, 'author_profile': 'https://Stackoverflow.com/users/238', 'pm_score': 4, 'selected': False, 'text': '<p>I use jQuery\'s <a href="http://docs.jquery.com/Attributes/html" rel="noreferrer">.html()</a> to get a consistent result across browsers.</p>\n'}, {'answer_id': 36914, 'author': 'J Wynia', 'author_id': 1124, 'author_profile': 'https://Stackoverflow.com/users/1124', 'pm_score': 4, 'selected': True, 'text': "<p>I agree with Pat. At this point in the game, writing your own code to deal with cross-browser compatibility given the available Javascript frameworks doesn't make a lot of sense. There's a framework for nearly any taste (some really quite tiny) and they've focused on really abstracting out all of the differences between the browsers. They're doing WAY more testing of it than you're likely to.</p>\n\n<p>Something like jQuery or Yahoo's YUI (think how many people hit the Yahoo Javascript in a day and the variety of browsers) is just way more road-tested than any snippet you or I come up with.</p>\n"}, {'answer_id': 80306, 'author': 'Ross Morrissey', 'author_id': 6997, 'author_profile': 'https://Stackoverflow.com/users/6997', 'pm_score': 1, 'selected': False, 'text': '<p>Using prototype and the $("thisid") syntax instead of document.getElementById("thisid") might do the trick for you.  It worked for me.</p>\n'}, {'answer_id': 81011, 'author': 'matt lohkamp', 'author_id': 14026, 'author_profile': 'https://Stackoverflow.com/users/14026', 'pm_score': 2, 'selected': False, 'text': "<p>using a good library is a great way to get around browser inconsistencies, and jquery is the one that I typically recommend - and if you're running into issues altering the elements in a form in particular, jquery boasts a few really useful plugins focused specifically on form manipulation and evaluation.</p>\n"}]
['https://Stackoverflow.com/questions/36778', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1693/']