Hello,
I'm currently working on a project using HighChart and jQuery.
the method .attr seem not work in IE 6 to 8, but i don’t know if it's my fault or jQuery bug.
offending code :
- this.hide = function () {
- $('.graph').each(function(index, element) {
- if ($(this).attr('id') != glob_svg[_config['start']]) {
- $(this).attr('style', $(this).attr('style') + ' display: none;')
- alert($(this).attr('style'));
- } else {
- $(this).attr('style', $(this).attr('style') + ' display: block;');
- }
- });
- }
alert return 'undefined' in IE6 to 8,
'width: 500; display: none;' in IE9 and firefox
Full JS source code (web_service.js) :
http://pastebin.me/b71e4eb1b0cebb7a8cc7f8cbc600c4d1Full HTML source code (index.php) :
http://pastebin.me/b71e4eb1b0cebb7a8cc7f8cbc600c931Thank you in advance