Apply 50% opacity to a div

Apply 50% opacity to a div

Hello,

I was trying to apply an alpha of 50% to a div but using opacity with CSS but it is not validated in CSS 2.1.

Can I apply some opacity to a div using JQuery?

Thanks,
Miguel