469,306 Members | 1,896 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

how to copy all style attributes from one to another object

How can I copy all style sheet information from one object to another?
I tried the following way but it did not work:

object2.style = object1.style;

do have to assign all stylesheet information by

object2.style.color = object1.style.color;

?

Thanks for your responds
Jul 23 '05 #1
1 2043
Gerrit Horeis wrote:
How can I copy all style sheet information from one object to another?
[...]


I have already answered that in your native language in
de.comp.lang.javascript. You probably want to refrain
from making multi-postings if you wish your postings to
be read by a significant number of netizen in the future.
PointedEars
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by David MacQuigg | last post: by
42 posts views Thread by Edward Diener | last post: by
1 post views Thread by masood.iqbal | last post: by
10 posts views Thread by ambar.shome | last post: by
4 posts views Thread by KraftDiner | last post: by
4 posts views Thread by Nathan Sokalski | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.