i using flotr api draw charts , , flotr api internally using prototype.js . charts working fine under mozilla , if run charts in ie , giving me script errors .
there function inside prototype.js file
function observe(element, eventname, handler) { element = $(element); alert(element); }
when put alert element , run mozilla displays as
- [object window]
- [object htmldocument]
- [object htmlcanvaselement]
- [object htmlcanvaselement]
- [object htmlcanvaselement]**
but when run ie7 displays
- [object]
- [object]
- a run time error
- object
internet explorer 7 does not support <canvas>
element. thus, runtime error.
you can use plug-in add support element, though.
Comments
Post a Comment