How to animate svg circle with javascript

I recently found about svg and started using it but i have no clue how to animate it using javascript / jquery. I would appreciate if someone  could post an example.

What method are you using to display the svg?