Quick version I found a bug in IE8 when adding a form to the DOM using jQuery, fortunately there is a simple solution, unfortunately it took a while to stumble upon it. Background Whilst implementing a new in-page contact form for limethinking.co.uk I ran into a bug with Internet Explorer 8. Unexpectedly though it worked [...]
Archive for the ‘JavaScript’ Category
jQuery: Manipulating an Ajax response before inserting it into the DOM
March 4th, 2011
2 Comments
Quick gotcha – well it got me anyway. I was manipulating an HTML response from an Ajax request with jQuery before inserting it into the DOM but my changes were not making it into the DOM. My code looked something like this simplified example: $.get(’/some-url/’, function(data) { $(data).find(’#someDiv’).append(’<p>Some Text</p>’); $(’body’).append($(data)); }); The problem is is [...]
Internet Explorer Conditional Comments and JavaScript
February 8th, 2011
No Comments
As we prepare for the launch of the new Lime Thinking website, I have been looking at the front end. One issue we have found is getting some of the JavaScript enhancements working in the older versions of Internet Explorer. Whilst we are using jQuery which deals with most of these browser variations very effectively [...]


