Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
nacrotic
nacrotic's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
Trouble with .attr in IE 6 to 8
[3Replies]
30-Mar-2012 04:19 AM
Forum:
Getting Started
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/b71e4eb1b0cebb7a8cc7f8cbc600c4d1
Full HTML source code (index.php) :
http://pastebin.me/b71e4eb1b0cebb7a8cc7f8cbc600c931
Thank you in advance
«Prev
Next »
Moderate user : nacrotic
Forum