471,578 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,578 software developers and data experts.

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 2095
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
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.