I have spent the last hour trawling Google trying to find out how I create a Copy button. So far I haven'y managed to find anything that works or that I understand.. Basically what I am doing is having code in a textarea that I need the user to be able to save. I cannot use right click as it's been blocked on my theme. The alternative is to create a button that the user presses and in doing so it copies the code which he can then paste into his site. Thanks. EDIT** It must work with IE and FIREFOX