As theIV said you can use the css method, but as an alternative you can use animate:
$('#my_element').animate({ opacity: 0.5 }, 100);
this will animate the opacity of you div (and its contents) to 0.5 (from whatever it was to begin with) in 100 milliseconds.