Preserved Topic: doesn't work in IE |
|
---|---|
Author | Thread |
Neurotic (0) Inmate Newly admitted From: |
posted 03-24-2004 16:30
Please help me out. This code works fine in Netscape 7, but not in IE 6. IE says "Object doesn't support this property or method" for the three lines in bold. |
Nervous Wreck (II) Inmate From: |
posted 03-24-2004 17:11
I haven't tested your code, but I am wondering if there is some kind of name clash going on with the variable "desc". Since you are using it as a string inside the function, but it is also the id of an element in the body... |
Nervous Wreck (II) Inmate From: |
posted 03-24-2004 17:19
Yep. That's it. I just tested it by renaming 'desc' to 'descStr' and it works in IE6... |
Neurotic (0) Inmate Newly admitted From: |
posted 03-24-2004 17:42
Thanx a lot MajorFracas. You nailed it. |