need more details.
what do you mean by:
but its not working
it's not working to add that code to the content area?
your code is a bit off. This is not correct:
it should be more like:
the onlick event is also calling a javascipt function:
you need to make sure that function is defined on the page for it to work.