Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-17-2008, 04:39 PM   PM User | #1
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
Method doesn't work in IE6?

EDIT: sory for bad caption, cant edit it.

damn, just noticed:

Code:
mDiv.setAttribute('class','mDiv');
has no effect in IE6.

Last edited by BubikolRamios; 10-17-2008 at 04:41 PM..
BubikolRamios is offline   Reply With Quote
Old 10-17-2008, 04:47 PM   PM User | #2
Arty Effem
Banned

 
Join Date: May 2006
Location: England
Posts: 664
Thanks: 0
Thanked 84 Times in 84 Posts
Arty Effem can only hope to improve
Quote:
Originally Posted by BubikolRamios View Post
EDIT: sory for bad caption, cant edit it.

damn, just noticed:

Code:
mDiv.setAttribute('class','mDiv');
has no effect in IE6.
Fortuneately className does.
Arty Effem is offline   Reply With Quote
Old 10-17-2008, 05:32 PM   PM User | #3
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
u mean like that:

Code:
mClickDiv.setAttribute('class','mClickDiv');// for FF
mClickDiv.setAttribute('className','mClickDiv');//for IE 6.0
thanks, saved me a cuple of lines of code.

by the way, ie not understandig that --> the output was devastating (-:

Last edited by BubikolRamios; 10-17-2008 at 05:35 PM..
BubikolRamios is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:27 AM.


Advertisement
Log in to turn off these ads.