SyntaxFix
Write A Post
Hire A Developer
Questions
this will do it with just javascript - you can also put the function in a .js file and call it with onclick
//button <div onclick=" document.forms['name_of_the_form']['name_of_the_input'].value += 'text you want to add to it'" >button</div>