I was debugging a seemingly simple issues in IE ( but it turns out could be an inconsistent in javascript implantation ), which unsurprisingly works in other browsers. When I trace the error, it was coming from the jquery library, and in which there is a native function call fragment.append(elem)
And this is my guess - the implementation of append() in IE doesn't really support an array of elements. Maybe I'm wrong, please let me know if that's a wrong guess.
There are so many ways to fix it, but one simple way is do a 'join' on your array before feeding to the jquery html() function to append stuff.
And this is my guess - the implementation of append() in IE doesn't really support an array of elements. Maybe I'm wrong, please let me know if that's a wrong guess.
There are so many ways to fix it, but one simple way is do a 'join' on your array before feeding to the jquery html() function to append stuff.
No comments:
Post a Comment