You know when you're on forums etc, and you can use the quick input buttons, e.g. click URL, you get a javascript promp, and you enter the URL and the title you want, and then it inputs the information into your text box, how could i create a similar kind of input? I have to create a site whereby a user can click a button, to be provided with a prompt box for entering the URL of an image, and then it enters the correct <IMG> code, for inserting the image, into the text box. All help is greatly appreciated, and i'd also like to point out, data already in the text box needs to be kept and not overwritten. Thanks in advance