Tuesday, August 25, 2009

FusionCharts, IE6, and "Unknown runtime error"

FusionCharts' JavaScript file makes use of innerHTML to replace a placeholder <div>'s content with the generated SWF. However, on IE6, this causes an "Unknown runtime error".

I am working with version 1.2.4. I have jQuery 1.3 loaded on the site, so I replaced four instances of innerHTML calls with $().html() syntax:

Line 237:
{ n.innerHTML = obj.getSWFHTML(); },false );
became
{ $(n).html(obj.getSWFHTML()); }, false);

Line 242:
{ n.innerHTML = obj.getSWFHTML(); } );
became
{ $(n).html(obj.getSWFHTML()); });

Line 246:
n.innerHTML = this.getSWFHTML();
became
$(n).html(this.getSWFHTML());

Line 251:
n.innerHTML = this.getSWFHTML();
became
$(n).html(this.getSWFHTML());

44 comments:

xyz said...

and does this solve the problem?

Dave said...

Yes, it does.

johnathonferraro said...

巨乳,成人論壇,嘟嘟貼圖區,美女寫真,ut聊天室,同志聊天室,色情小遊戲,貼圖區,哈比寬頻成人,嘟嘟成人,玩美女人,視訊交友,自拍貼圖,正妹計時器,無碼影片,情人視訊,正妹牆,聊天室,ut聊天室,視訊聊天室,情色,微風成人,豆豆聊天室,視訊美女,85cc成人片,85cc成人片觀看,交友戀愛進行室,嘟嘟成人網,成人,色情,美女,色情小說,情色貼圖,情色小說,交友覓戀會館,情色文學,交友104速配網,視訊交友,成人韭南籽,18成人,

GarthStich said...

080免費聊天網0509電話視訊聊天電話視訊聊天免費聊天免費視訊聊天免費視訊聊天免費視訊影音視訊0401影音視訊聊天室0401網愛聊天室0401網愛聊天室0401視訊美女0401視訊美女0401免費視訊0401免費視訊情色0401成人交友0401成人0401成人聊天室

一能靜 said...

看到你的好文章真是開心 加油囉.......................................

119 said...

I love readding, and thanks for your artical. ........................................

book said...

你的部落格很棒,我期待更新喔 ........................................

玉苓 said...

It's great!!.............................................

駱治男 said...

世間事沒有一樣沒有困難,只要有信心去做,至少可以做出一些成績。......................................................

RexTemples20144 said...

may the blessing be always with you!! ........................................

雲亨 said...

無一事而不學,無一時而不學,無一處而不學。 ..................................................

林60102asai_sistrunk said...

adult成人情色激情成人聊天網情色影片色情俱樂部性愛影片情趣淫水影音情色限制級照片live show女生自慰影片超屌成人情色留言板淫亂女自慰免費視訊辣妹巨乳鹹濕色情影音聊天自拍走光照片免費情色av圖片亞洲情色論壇淫慾免費裸女圖片裙底風光台灣色情論壇一夜正妹淫娃網情色下載a圖片全裸淫蕩女人情色影音聊天高潮自慰色情圖片成人自拍女生自慰亞洲成人色情dvd舔乳頭女生自慰影片台灣色情網站台灣性樂園sex story情色影音激情聊天室嘿咻情色自拍

忠元 said...

唯有穿鞋的人,才知道鞋的哪一處擠腳...............................................................

said...

I like your blog................................

BasilA_Carrill士銘 said...

成功的第一要素是珍惜自己......................................................

730A_ngelinaRabideau0 said...

每一個人無論怎樣渺小,在自己的眼中,都自有其份量 ..................................................

采瑩采瑩 said...

一切與生俱來的天然贈品,時間最為寶貴 ..................................................

彥安彥安 said...

希望是風雨之夜所現之曉霞 ..................................................

hernande said...

你不能左右天氣,但你可以改變心情......................................................

怡孜 said...

失去金錢的人,失去很多;失去朋友的人,失去更多;失去信心的人,失去所有。..................................................................

林奕廷 said...

你不能左右天氣,但你可以改變心情..................................................................

麗芬 said...

支持好的blog~繼續加油~~

貢慧 said...

Quality is better than quantity.....................................................................

峻帆峻帆峻帆 said...

所有的資產,在不被諒解時,都成了負債.................................................................

陳智強 said...

卡爾.桑得柏:「除非先有夢,否則一切皆不成。」共勉!............................................................

淑賴ul貞俊李trt賢 said...

向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

賢林賢林 said...

一個人的快樂,不是因為他擁有的多,而是他計較的少。..................................................

佳皓佳皓 said...

我真心在追求我的夢想時,每一天都是繽紛的。因為我知道每一個小時都是實現理想 的一部份。..................................................

吳婷婷 said...

沒有經過反省的人生,是不值得活的人生..................................................

楊儀卉 said...

If you lend someone $20 and never see that person again, it was probably worth it.............................................................

鄭雅琦鄭雅琦 said...

天氣涼了~要注意身體喔@~@............................................................

宮惠如宮惠如 said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

曹彥均曹彥均 said...

喜歡看大家的文章,每篇都是一個故事,都是一種心情~~祝大家開心愉快..................................................................

劉傑汝劉傑汝 said...

生命就像騎單車一樣,除非你停止踩踏板,否則不會掉下去。......................................................

承王蓁 said...

所有的資產,在不被諒解時,都成了負債.................................................................

佳呈均慧 said...

愛情不是慈善事業,不能隨便施捨。.................................................................

凱v胡倫 said...

一時的錯誤不算什麼,錯而不改才是一生中永遠且最大的錯誤..................................................

储涵 said...

我的痛苦會停止,但求我的心能征服它。................................................

淑張福 said...

做些小善事,說些愛的字句,世界更快樂。..................................................

王志陳雅竹豪 said...

這一生中有多少人擦肩而過?而朋友是多麼可貴啊!......................................................................

淑徐承翰承翰娟 said...

不會從失敗中找尋教訓的人,成功之路是遙遠的。.................................................

石JaquelynS_Whitesi白 said...

看著你的BLOG 好多朋友都回應 真厲害..................................................

文岳仲君 said...

好看耶~一定每天有空給你支持..................................................

Zegaara said...

I was actually looking for this resource a few weeks back. Thanks for sharing with us your wisdom.This will absolutely going to help me in my projects .
Once again great post. You seem to have a good understanding of these themes.When I entering your blog,I felt this . Come on and keep writting your blog will be more attractive. To Your Success!
Classic Dresses
Classic Bridesmaid Dresses
Trumpet Wedding Dresses
New Style Flower Girl Dresses
Wedding Dresses with Sleeves