jquery change color using css one working but another is not working
<p>Why only name is changing the color but age is not changing ?</p>

<pre><code>&lt;div id="user"&gt;
&lt;?php echo $user_name; ?&gt;
&lt;span class="age"&gt;&lt;?php echo $user_age; ?&gt;&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>user name color chang is working but age inside span is not working.</p>

<pre><code>$(document).ready(function(){
$('#user').css('color','red');
$('#user#age').css('color','gray');  
});
</code></pre>
