I have the following css rule that describes the style of an element with an id named as treeList:

color: #ffee00;
width: 100%

Now I need jQuery to add this rule to another element with, of course, different id such as #fgsf:

<div id="fgsf">
//some text

Could jQuery able to apply the style rule of #treeList the other id element fgsf?