[jQuery] $('#foo').css() - to return all styles of the element?

[jQuery] $('#foo').css() - to return all styles of the element?


My google search got to be vain; I was searching how to find style
rules for the element like:
$('#foo').css() to return something like:
background: red;
font: Arial
Is there anyway? TIA
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/