I need some help with a button onClick.
onClick
With plain javascript you can do something like this:
For output make sure you have a div with the id equal to target.